On Thu, Jul 7, 2011 at 11:03 AM, James Bergstra
<[email protected]>wrote:

> In numpy 1.5.1,  the functions PyArray_MoveInto and PyArray_CopyInto
> don't appear to treat strides correctly.
>
> Evidence:
> PyNumber_InPlaceAdd(dst, src), and modifies the correct subarray to
> which dst points.
>
> In the same context, PyArray_MoveInto(dst, src) modifies the first two
> rows of the
> underlying matrix instead of the first two columns. PyArray_CopyInto
> does the same.
>
> Is there something subtle going on here?
>
>
What are the strides/dims in src and dst?

Chuck
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to