Author: Maciej Fijalkowski <[email protected]>
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:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to