[pypy-commit] pypy numpy-record-dtypes: another fix

fijal noreply at buildbot.pypy.org
Sat Feb 18 22:24:15 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: numpy-record-dtypes
Changeset: r52619:115f1100e193
Date: 2012-02-18 23:23 +0200
http://bitbucket.org/pypy/pypy/changeset/115f1100e193/

Log:	another fix

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
@@ -195,7 +195,7 @@
         elif isinstance(t, ViewTransform):
             r = calculate_slice_strides(self.res_shape, self.offset,
                                         self.strides,
-                                        self.backstrides, t.chunks)
+                                        self.backstrides, t.chunks.l)
             return ViewIterator(r[1], r[2], r[3], r[0])
 
     @jit.unroll_safe


More information about the pypy-commit mailing list