[SciPy-user] test fails in 0.7rc2

Robert Kern robert.kern@gmail....
Mon Jan 26 15:53:01 CST 2009


On Mon, Jan 26, 2009 at 15:44, Gideon Simpson <simpson@math.toronto.edu> wrote:
> Not sure how serious this is, but:
>
> ======================================================================
> FAIL: test_x_stride (test_fblas.TestCgemv)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/local/nonsystem/simpson/lib/python2.5/site-packages/
> scipy/lib/blas/tests/test_fblas.py", line 345, in test_x_stride
>     assert_array_almost_equal(desired_y,y)
>   File "/usr/local/nonsystem/simpson/lib/python2.5/site-packages/
> numpy/testing/utils.py", line 311, in assert_array_almost_equal
>     header='Arrays are not almost equal')
>   File "/usr/local/nonsystem/simpson/lib/python2.5/site-packages/
> numpy/testing/utils.py", line 296, in assert_array_compare
>     raise AssertionError(msg)
> AssertionError:
> Arrays are not almost equal
>
> (mismatch 33.3333333333%)
>  x: array([  7.42531872 -7.42531872j,   4.58355808 -2.58355808j,
>        -12.38274670+16.38274765j], dtype=complex64)
>  y: array([  7.42531872 -7.42531872j,   4.58355808 -2.58355808j,
>        -12.38274670+16.38274574j], dtype=complex64)

Doesn't look particularly serious. Possibly your ATLAS is using
aggressive speed optimization at the cost of a couple of decimal
points of precision. What platform are you on? What BLAS are you
using?

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco


More information about the SciPy-user mailing list