[SciPy-user] scipy.lib.tests.test_blas.test_fblas1_simple failure on Mac OS X

David Cournapeau david@ar.media.kyoto-u.ac...
Sat Jan 26 23:18:02 CST 2008


Adam Mercer wrote:
> Hi
>
> Running scipy.test() on Mac OS X Leopard, numpy-1.0.4 & scipy-0.6.0,
> results in the following failure:
>
> FAIL: check_dot (scipy.lib.tests.test_blas.test_fblas1_simple)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/opt/local/lib/python2.5/site-packages/scipy/lib/blas/tests/test_blas.py",
> line 76, in check_dot
>     assert_almost_equal(f([3j,-4,3-4j],[2,3,1]),-9+2j)
>   File "/opt/local/lib/python2.5/site-packages/numpy/testing/utils.py",
> line 158, in assert_almost_equal
>     assert round(abs(desired - actual),decimal) == 0, msg
> AssertionError:
> Items are not equal:
>  ACTUAL: 1.294297555666517e-37j
>  DESIRED: (-9+2j)
>
> Is this anything to worry about?
>   
This is likely a symptom of bad argument passing between C and Fortran. 
Normally, the problem is supposed to be solved. But maybe leopard has 
different convention.

http://projects.scipy.org/scipy/scipy/ticket/238

cheers,

David


More information about the SciPy-user mailing list