Author: Maciej Fijalkowski <[email protected]>
Branch: refactor-signature
Changeset: r50724:993a31c296bb
Date: 2011-12-20 00:00 +0200
http://bitbucket.org/pypy/pypy/changeset/993a31c296bb/

Log:    We require flatiter to force the array for now

diff --git a/pypy/module/micronumpy/interp_numarray.py 
b/pypy/module/micronumpy/interp_numarray.py
--- a/pypy/module/micronumpy/interp_numarray.py
+++ b/pypy/module/micronumpy/interp_numarray.py
@@ -1174,6 +1174,7 @@
 
     @jit.unroll_safe
     def __init__(self, arr):
+        arr = arr.get_concrete()
         size = 1
         for sh in arr.shape:
             size *= sh
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to