[pypy-commit] pypy numpy-record-dtypes: one more missing arg

fijal noreply at buildbot.pypy.org
Sun Mar 4 04:18:39 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: numpy-record-dtypes
Changeset: r53167:e260673aa286
Date: 2012-03-03 19:18 -0800
http://bitbucket.org/pypy/pypy/changeset/e260673aa286/

Log:	one more missing arg

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
@@ -704,7 +704,7 @@
             w_item = items_w[i]
             w_box = itemtype.coerce(space, subdtype, w_item)
             itemtype.store(arr, 1, 0, ofs, w_box)
-        return interp_boxes.W_VoidBox(arr, 0)
+        return interp_boxes.W_VoidBox(arr, 0, arr.dtype)
 
     @jit.unroll_safe
     def store(self, arr, _, i, ofs, box):


More information about the pypy-commit mailing list