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):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to