[Numpy-discussion] numpy.any segfaults for large object arrays

Joris De Ridder Joris.DeRidder@ster.kuleuven...
Mon Mar 24 17:42:24 CDT 2008


On 24 Mar 2008, at 18:27, Martin Manns wrote:

>> I cannot confirm the problem on my intel macbook pro using the same
>> Python and Numpy versions. Although any(numpy.array(large_none))  
>> takes
>> a significantly longer time than any(numpy.array(large_zero)), the
>> former does not segfault on my machine.
>>
>
> Did you use numpy.any?
>>>> numpy.any(numpy.array(large_zero))
> Python's built-in any function works all right.
> Only the numpy.any function segfaults on my machines.

Oops, I was using python's built-in any() function. With numpy.any() I  
also get a bus error.

J.


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



More information about the Numpy-discussion mailing list