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

Achim Gaedke Achim.Gaedke@physik.tu-darmstadt...
Thu Nov 15 01:24:30 CST 2007


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
>> # end
>>     
....
> 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 .

Yours, Achim



More information about the Numpy-discussion mailing list