[pypy-commit] pypy numpypy-axisops: whoops

mattip noreply at buildbot.pypy.org
Fri Dec 30 13:51:50 CET 2011


Author: mattip
Branch: numpypy-axisops
Changeset: r50954:e00aeecb0882
Date: 2011-12-30 13:57 +0200
http://bitbucket.org/pypy/pypy/changeset/e00aeecb0882/

Log:	whoops

diff --git a/pypy/module/micronumpy/interp_iter.py b/pypy/module/micronumpy/interp_iter.py
--- a/pypy/module/micronumpy/interp_iter.py
+++ b/pypy/module/micronumpy/interp_iter.py
@@ -128,7 +128,7 @@
         self.backstrides = backstrides
         if dim >= 0:
             self.dim = dim
-        if len(slice_start) == len(shape):
+        if len(start) == len(shape):
             for i in range(len(start)):
                 self.offset += strides[i] * start[i]
     def next(self, shapelen):


More information about the pypy-commit mailing list