Author: Armin Rigo <[email protected]>
Branch: object-dtype2
Changeset: r76667:662d2c806a12
Date: 2015-04-01 11:08 +0200
http://bitbucket.org/pypy/pypy/changeset/662d2c806a12/

Log:    Fix

diff --git a/pypy/module/micronumpy/concrete.py 
b/pypy/module/micronumpy/concrete.py
--- a/pypy/module/micronumpy/concrete.py
+++ b/pypy/module/micronumpy/concrete.py
@@ -348,7 +348,7 @@
     #debug_print('in customtrace w/obj', obj)
     length = rffi.cast(rffi.SIGNEDP, obj + offset_of_length)[0]
     step = rffi.cast(rffi.SIGNEDP, obj + offset_of_step)[0]
-    storage = obj + offset_of_storage
+    storage = (obj + offset_of_storage).address[0]
     debug_print('tracing', length, 'objects in ndarray.storage')
     i = 0
     while i < length:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to