Author: Maciej Fijalkowski <[email protected]>
Branch: numpy-record-dtypes
Changeset: r53166:89c7d9016d6b
Date: 2012-03-03 19:17 -0800
http://bitbucket.org/pypy/pypy/changeset/89c7d9016d6b/
Log: alex, you can make stupid jokes
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
@@ -678,7 +678,7 @@
def read(self, arr, width, i, offset, dtype=None):
if dtype is None:
dtype = arr.dtype
- return interp_boxes.W_VoidBox(arr, i, dtype)
+ return interp_boxes.W_VoidBox(arr, i + offset, dtype)
@jit.unroll_safe
def coerce(self, space, dtype, w_item):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit