Author: Maciej Fijalkowski <fij...@gmail.com>
Branch: 
Changeset: r58579:5188e5070566
Date: 2012-10-29 12:17 +0100
http://bitbucket.org/pypy/pypy/changeset/5188e5070566/

Log:    shape agreement is unroll_safe

diff --git a/pypy/module/micronumpy/strides.py 
b/pypy/module/micronumpy/strides.py
--- a/pypy/module/micronumpy/strides.py
+++ b/pypy/module/micronumpy/strides.py
@@ -110,6 +110,7 @@
             i //= shape[s]
     return coords, step, lngth
 
+@jit.unroll_safe
 def shape_agreement(space, shape1, w_arr2, broadcast_down=True):
     if w_arr2 is None:
         return shape1
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to