[pypy-commit] pypy numpy-refactor: fix

fijal noreply at buildbot.pypy.org
Thu Sep 6 17:10:54 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: numpy-refactor
Changeset: r57180:40f2b894f0e0
Date: 2012-09-06 17:04 +0200
http://bitbucket.org/pypy/pypy/changeset/40f2b894f0e0/

Log:	fix

diff --git a/pypy/module/micronumpy/arrayimpl/concrete.py b/pypy/module/micronumpy/arrayimpl/concrete.py
--- a/pypy/module/micronumpy/arrayimpl/concrete.py
+++ b/pypy/module/micronumpy/arrayimpl/concrete.py
@@ -346,7 +346,7 @@
         self.start = start
 
     def fill(self, box):
-        loop.fill(self, box)
+        loop.fill(self, box.convert_to(self.dtype))
 
     def create_iter(self, shape):
         if shape != self.shape:


More information about the pypy-commit mailing list