[pypy-commit] pypy default: shape agreement is unroll_safe

fijal noreply at buildbot.pypy.org
Mon Oct 29 12:19:30 CET 2012


Author: Maciej Fijalkowski <fijall at 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
 
+ at jit.unroll_safe
 def shape_agreement(space, shape1, w_arr2, broadcast_down=True):
     if w_arr2 is None:
         return shape1


More information about the pypy-commit mailing list