[Numpy-discussion] segmentation fault
Wed May 28 10:21:33 CDT 2008
On Wed, May 28, 2008 at 7:30 AM, Keith Goodman <firstname.lastname@example.org> wrote:
> Does anyone else get this seg fault?
>>> def fn():
> x = np.random.rand(5,2)
> x.cumsum(None, out=x)
> return x
> *** glibc detected *** /usr/bin/python: double free or corruption
> (out): 0x08212dc8 ***
I replaced cumsum with sum and with max. Both give
ValueError: wrong shape for output
So is that the problem? No check for shape is made?
More information about the Numpy-discussion