[pypy-commit] pypy default: calc_strides too

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


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r58580:4acbbf8a634b
Date: 2012-10-29 12:19 +0100
http://bitbucket.org/pypy/pypy/changeset/4acbbf8a634b/

Log:	calc_strides too

diff --git a/pypy/module/micronumpy/support.py b/pypy/module/micronumpy/support.py
--- a/pypy/module/micronumpy/support.py
+++ b/pypy/module/micronumpy/support.py
@@ -8,6 +8,7 @@
         i *= x
     return i
 
+ at jit.unroll_safe
 def calc_strides(shape, dtype, order):
     strides = []
     backstrides = []


More information about the pypy-commit mailing list