[SciPy-dev] 1 Failure in 0.7.0b1

Xavier Gnata xavier.gnata@gmail....
Sun Nov 30 17:12:32 CST 2008


> Fedora F9 x86_64:
> 
> FAIL: test_pbdv (test_basic.TestCephes)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib64/python2.5/site-packages/scipy/special/tests/test_basic.py", line 357, in test_pbdv
>     assert_equal(cephes.pbdv(1,0),(0.0,0.0))
>   File "/usr/lib64/python2.5/site-packages/numpy/testing/utils.py", line 176, in assert_equal
>     assert_equal(actual[k], desired[k], 'item=%r\n%s' % (k,err_msg), verbose)
>   File "/usr/lib64/python2.5/site-packages/numpy/testing/utils.py", line 183, in assert_equal
>     raise AssertionError(msg)
> AssertionError: 
> Items are not equal:
> item=1
> 
>  ACTUAL: 1.0
>  DESIRED: 0.0

Ok I can reproduce this one on intrepid ibex 64bits (gfortran).
The funny think is that I think (if I read the correct mathword pages)
that 1.0 is the correct answer (but it is so easy to be wrong with these
special function).

Xavier


More information about the Scipy-dev mailing list