[Numpy-discussion] uniform() regression(?) in svn

Travis Oliphant oliphant.travis at ieee.org
Mon Jul 31 11:41:02 CDT 2006


Darren Dale wrote:
> On Wednesday 26 July 2006 13:22, Travis Oliphant wrote:
>   
>> Andrew Jaffe wrote:
>>     
>>> Hi-
>>>
>>> On PPC Mac OSX universal build 2.4.3, gcc 4.0,
>>>
>>>
>>> In [1]: import numpy as N
>>>
>>> In [2]: print N.__version__
>>> 1.0.2897
>>>
>>> In [3]: N.random.uniform(0,1)
>>> Segmentation fault
>>>
>>> (This originally showed up in the Ticket 83 regression test during
>>> numpy.test()...)
>>>       
>> This should be O.K. now.
>>     
>
> I dont know if this is related or not, but I just did an update from the trunk 
> ('1.0b2.dev2918') and discovered the following error:
>
> ======================================================================
> FAIL: Ticket #99
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   
> File "/usr/lib64/python2.4/site-packages/numpy/core/tests/test_regression.py", 
> line 182, in check_intp
>     self.failUnlessRaises(OverflowError,N.intp,'0xb72a7008',16)
> AssertionError: OverflowError not raised
>
> ----------------------------------------------------------------------
>   

No, this is a "test-bug"  This test should only be run on 32-bit systems.

-Travis





More information about the Numpy-discussion mailing list