On Saturday 31 May 2008 18:35:32 Tony Yu wrote: > On May 31, 2008, at 6:04 PM, Matthieu Brucher wrote: > > Hi, > > > > This is to be expected. You are trying to modify and read the same > > array at the same time, which should never be done. > > Thanks, I'll have to keep this in mind next time.
And the reason why it works with oldnumeric is that the right term is copied while setting the slice. > So, what's the best way to rearrange a subarray of an array. Copying > seems inefficient. But likely the only solution for your data to be contiguous _______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
