[pypy-commit] pypy numpy-record-dtypes: fix one more test

fijal noreply at buildbot.pypy.org
Tue Feb 14 15:29:33 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: numpy-record-dtypes
Changeset: r52453:a06d3e71c2b6
Date: 2012-02-14 16:29 +0200
http://bitbucket.org/pypy/pypy/changeset/a06d3e71c2b6/

Log:	fix one more test

diff --git a/pypy/module/micronumpy/types.py b/pypy/module/micronumpy/types.py
--- a/pypy/module/micronumpy/types.py
+++ b/pypy/module/micronumpy/types.py
@@ -680,7 +680,7 @@
     @jit.unroll_safe
     def store(self, arr, width, i, ofs, box):
         for k in range(width):
-            arr[k + i * width] = box.arr.storage[k + box.i * width]
+            arr.storage[k + i * width] = box.arr.storage[k + box.i * width]
 
 for tp in [Int32, Int64]:
     if tp.T == lltype.Signed:


More information about the pypy-commit mailing list