Re: [Numpy-discussion] SegFault/double free with simple array mask operation

2007-11-18 Thread Stefan van der Walt
On Sun, Nov 18, 2007 at 11:18:10AM -1000, Eric Firing wrote: > Ticket #607 should be closed now also. It looks like I can't do that, > even though I created the ticket. > > I'm not sure whether it was the fix for #614 that did it, or whether it > is the code it referred to, but now a proper exc

Re: [Numpy-discussion] SegFault/double free with simple array mask operation

2007-11-18 Thread Eric Firing
Stefan, Ticket #607 should be closed now also. It looks like I can't do that, even though I created the ticket. I'm not sure whether it was the fix for #614 that did it, or whether it is the code it referred to, but now a proper exception is raised instead of a segfault. Eric Stefan van der

Re: [Numpy-discussion] SegFault/double free with simple array mask operation

2007-11-18 Thread Stefan van der Walt
On Sat, Nov 17, 2007 at 12:55:57PM +0100, Achim Gaedke wrote: > Achim Gaedke wrote: > > David Cournapeau wrote: > > > >> Could you open a ticket on the numpy trac system ? (I can confirm the bug) > >> > >> cheers, > >> > >> David > >> > >> > > It is Ticket #614 . The version information

Re: [Numpy-discussion] SegFault/double free with simple array mask operation

2007-11-17 Thread Achim Gaedke
Achim Gaedke wrote: > David Cournapeau wrote: > >> Could you open a ticket on the numpy trac system ? (I can confirm the bug) >> >> cheers, >> >> David >> >> > It is Ticket #614 . The version information in trac are outdated, I > could not select version 1.0.3 or 1.0.4 . > Here is th

Re: [Numpy-discussion] SegFault/double free with simple array mask operation

2007-11-15 Thread Achim Gaedke
David Cournapeau wrote: > Achim Gaedke wrote: > >> Hello everybody! >> >> Please have a look at the program below: >> >> # start >> import numpy >> >> t_array=numpy.ones(2048, dtype=numpy.float32) >> sinc_array=numpy.array((len(t_array),),dtype=numpy.float32) >> sinc_array[(t_array > 0.)]=1.0 >>

Re: [Numpy-discussion] SegFault/double free with simple array mask operation

2007-11-14 Thread David Cournapeau
Achim Gaedke wrote: > Hello everybody! > > Please have a look at the program below: > > # start > import numpy > > t_array=numpy.ones(2048, dtype=numpy.float32) > sinc_array=numpy.array((len(t_array),),dtype=numpy.float32) > sinc_array[(t_array > 0.)]=1.0 > # end > > If you execute this program, it

Re: [Numpy-discussion] SegFault/double free with simple array mask operation

2007-11-14 Thread Nils Wagner
On Wed, 14 Nov 2007 19:31:38 +0100 Achim Gaedke <[EMAIL PROTECTED]> wrote: > Hello everybody! > > Please have a look at the program below: > > # start > import numpy > > t_array=numpy.ones(2048, dtype=numpy.float32) > sinc_array=numpy.array((len(t_array),),dtype=numpy.float32) > sinc_array[(t

[Numpy-discussion] SegFault/double free with simple array mask operation

2007-11-14 Thread Achim Gaedke
Hello everybody! Please have a look at the program below: # start import numpy t_array=numpy.ones(2048, dtype=numpy.float32) sinc_array=numpy.array((len(t_array),),dtype=numpy.float32) sinc_array[(t_array > 0.)]=1.0 # end If you execute this program, it crashes with Segmentation Fault or *** gl