Re: [Numpy-discussion] take(..., out=something) does not seem to work

2007-04-27 Thread Travis Oliphant
Jouni K. Seppänen wrote: > Hi, > > Either I have completely misunderstood what the out= arg to the take > function is supposed to do, or there is a bug in numpy 1.0.2, as > demonstrated below. > Thanks. Silly bug in C-code caused this. -Travis ___ N

[Numpy-discussion] take(..., out=something) does not seem to work

2007-04-27 Thread Jouni K . Seppänen
Hi, Either I have completely misunderstood what the out= arg to the take function is supposed to do, or there is a bug in numpy 1.0.2, as demonstrated below. First, some initialization: In [1]: from numpy import * In [2]: a=arange(12).reshape((3,4)) In [3]: a Out[3]: array