[SciPy-dev] All but two tests passing for me

Nils Wagner nwagner at mecha.uni-stuttgart.de
Fri Oct 28 02:03:48 EDT 2005


Travis Oliphant wrote:
>Travis Oliphant wrote:
>
>  
>>After a fix to PyArray_Correlate all but two tests are passing for me on 
>>a 32-bit platform.
>>
>> 
>>
>>    
>Now all tests are passing.
>
>I'm sure issues will still be resolved.  But, I'm so pleased, I just had 
>to show everybody :-)
>
>----------------------------------------------------------------------
>Ran 1127 tests in 85.453s
>
>OK
><unittest.TextTestRunner object at 0x43807fec>
>
>Thanks for all who are helping in the bug-fixing and conversion process.
>
>-Travis
>
>_______________________________________________
>Scipy-dev mailing list
>Scipy-dev at scipy.net
>http://www.scipy.net/mailman/listinfo/scipy-dev
>  

 Hi Travis,

scipy.test(1,10) on a 32-bit system yields

======================================================================
ERROR: check_nils (scipy.linalg.matfuncs.test_matfuncs.test_logm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.4/site-packages/scipy/linalg/tests/test_matfuncs.py",
line 82, in check_nils
    logm((identity(7)*3.1+0j)-a)
  File
"/usr/local/lib/python2.4/site-packages/scipy/linalg/matfuncs.py", line
232, in logm
    errest = norm(expm(F)-A,1) / norm(A,1)
  File "/usr/local/lib/python2.4/site-packages/scipy/linalg/basic.py",
line 254, in norm
    x = asarray_chkfinite(x)
  File
"/usr/local/lib/python2.4/site-packages/scipy/base/function_base.py",
line 211, in asarray_chkfinite
    raise ValueError, "array must not contain infs or NaNs"
ValueError: array must not contain infs or NaNs

======================================================================
FAIL: check_nils (scipy.linalg.matfuncs.test_matfuncs.test_signm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.4/site-packages/scipy/linalg/tests/test_matfuncs.py",
line 44, in check_nils
    assert_array_almost_equal(r,cr)
  File "/usr/local/lib/python2.4/site-packages/scipy/test/testing.py",
line 727, in assert_array_almost_equal
    assert cond,\
AssertionError:
Arrays are not almost equal (mismatch 100.0%):
        Array 1: [[  1.2104571e+01 -2.3056788e-02j  -1.0034348e+00
-1.8445430e-01j
    1.5239715e+01 +1.1528394e-02j   2.1808571e+01 -2.3...
        Array 2: [[ 11.9493333  -2.2453333  15.3173333  21.6533333 
-2.2453333]
 [ -3.8426667   0.4986667  -4.5906667  -7.1866667   0.498...


----------------------------------------------------------------------
Ran 1106 tests in 4.545s

FAILED (failures=1, errors=1)
<unittest.TextTestRunner object at 0x4111ff4c>
>>> scipy.__core_version__
'0.4.3.1371'
>>> scipy.__scipy_version__
'0.4.2_1393'

I guess these issues are connected with the fact that I do not use ATLAS
here.
Any idea how to resolve this ?

Nils






More information about the SciPy-Dev mailing list