[SciPy-dev] FAIL: test_yn_zeros, test_ynp_zeros, Negative-order Bessels

Nils Wagner nwagner@iam.uni-stuttgart...
Mon Jan 26 02:03:19 CST 2009


On Sun, 25 Jan 2009 20:03:26 +0100
  "Nils Wagner" <nwagner@iam.uni-stuttgart.de> wrote:
> Hi all,
> 
> I do get three failures wrt. to special functions and 
> python2.6
> 
> ======================================================================
>FAIL: test_yn_zeros (test_basic.TestBessel)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/home/nwagner/local/lib64/python2.6/site-packages/scipy/special/tests/test_basic.py", 
> line 1598, in test_yn_zeros
>     488.98055964441374646], rtol=1e-19)
>   File 
> "/home/nwagner/local/lib64/python2.6/site-packages/scipy/special/tests/test_basic.py", 
> line 38, in assert_tol_equal
>     verbose=verbose, header=header)
>   File 
> "/home/nwagner/local/lib64/python2.6/site-packages/numpy/testing/utils.py", 
> line 295, in assert_array_compare
>     raise AssertionError(msg)
> AssertionError:
> Not equal to tolerance rtol=1e-19, atol=0
> 
> (mismatch 100.0%)
>  x: array([ 450.136,  463.057,  472.807,  481.274, 
> 488.981])
>  y: array([ 450.136,  463.057,  472.807,  481.274, 
> 488.981])
> 
> ======================================================================
>FAIL: test_ynp_zeros (test_basic.TestBessel)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/home/nwagner/local/lib64/python2.6/site-packages/scipy/special/tests/test_basic.py", 
> line 1604, in test_ynp_zeros
>     assert_tol_equal(yvp(443, ao), 0, atol=1e-15)
>   File 
> "/home/nwagner/local/lib64/python2.6/site-packages/scipy/special/tests/test_basic.py", 
> line 38, in assert_tol_equal
>     verbose=verbose, header=header)
>   File 
> "/home/nwagner/local/lib64/python2.6/site-packages/numpy/testing/utils.py", 
> line 295, in assert_array_compare
>     raise AssertionError(msg)
> AssertionError:
> Not equal to tolerance rtol=1e-07, atol=1e-15
> 
> (mismatch 100.0%)
>  x: array([  1.239e-10,  -8.119e-16,   3.608e-16, 
>  5.898e-16,   1.226e-15])
>  y: array(0)
> 
> ======================================================================
>FAIL: Negative-order Bessels
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/home/nwagner/local/lib64/python2.6/site-packages/nose-0.10.4-py2.6.egg/nose/case.py", 
> line 182, in runTest
>     self.test(*self.arg)
>   File 
> "/home/nwagner/local/lib64/python2.6/site-packages/scipy/special/tests/test_basic.py", 
> line 1665, in test_ticket_853
>     assert_tol_equal(iv(-0.5, 1   ), 1.231200214592967)
>   File 
> "/home/nwagner/local/lib64/python2.6/site-packages/scipy/special/tests/test_basic.py", 
> line 38, in assert_tol_equal
>     verbose=verbose, header=header)
>   File 
> "/home/nwagner/local/lib64/python2.6/site-packages/numpy/testing/utils.py", 
> line 295, in assert_array_compare
>     raise AssertionError(msg)
> AssertionError:
> Not equal to tolerance rtol=1e-07, atol=0
> 
> (mismatch 100.0%)
>  x: array(0.0)
>  y: array(1.231200214592967)
> 
> Nils
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev

Another failure is present in

>>> scipy.__version__
'0.8.0.dev5525'

======================================================================
FAIL: test_iv_cephes_vs_amos (test_basic.TestBessel)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/scipy/special/tests/test_basic.py", 
line 1653, in test_iv_cephes_vs_amos
     self.check_cephes_vs_amos(iv, iv, rtol=1e-8, 
atol=1e-305)
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/scipy/special/tests/test_basic.py", 
line 1642, in check_cephes_vs_amos
     assert_tol_equal(c1, c2, err_msg=(v, z), rtol=rtol, 
atol=atol)
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/scipy/special/tests/test_basic.py", 
line 38, in assert_tol_equal
     verbose=verbose, header=header)
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/testing/utils.py", 
line 295, in assert_array_compare
     raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-08, atol=1e-305
(-120, -11)
(mismatch 100.0%)
  x: array(1.3384173609003782e-110)
  y: array((1.3384173859242368e-110+0j))

  


More information about the Scipy-dev mailing list