On Wed, 2012-05-02 at 12:58 -0700, Stéfan van der Walt wrote:
> On Wed, May 2, 2012 at 9:03 AM, Henry Gomersall <[email protected]>
> wrote:
> > Is this some nuance of the way numpy does things? Or am I missing
> some
> > stupid bug in my code?
> 
> Try playing with the parameters of the following code:
> 
<snip>
> 
> For small values of sz this typically works, but as soon as numpy
> needs to buffer strange things happen because you are reading from
> memory locations that you've already written to. 

Right, so this is expected behaviour then. Is this documented somewhere?
It strikes me that this is pretty unexpected behaviour.

Henry


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

Reply via email to