mattip <[email protected]> added the comment:

I prefer this change, the index array was allocated properly but we used an 
improper stride on it

-            Repr.__init__(self, index_stride_size, stride_size,
-                          size, values, indexes, start, start)
+            Repr.__init__(self, dtype.get_size(), stride_size,
+                           size, values, indexes, start, start)
 



We only hit this code when doing piece wise sorting on multidimensional arrays, 
which we did not test until now.

I pushed this into changeset 938d68eb8a73, thanks mikefc!

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1510>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to