[SciPy-user] Error and fail on test

Adam Mercer ramercer@gmail....
Sun Jan 27 16:51:14 CST 2008


On Jan 27, 2008 4:52 PM, Ilmar Wilbers <ilmarw@simula.no> wrote:

> ======================================================================
> FAIL: check_dot (scipy.lib.tests.test_blas.test_fblas1_simple)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>    File
> "/Users/ilmarw/ext/Darwin/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
> "/Users/ilmarw/ext/Darwin/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: 7.3632427319432975e-38j
>   DESIRED: (-9+2j)

I ran into this problem, it has been fixed in SVN

http://projects.scipy.org/scipy/scipy/changeset/3387

Cheers

Adam


More information about the SciPy-user mailing list