[SciPy-dev] trunk failures

Nils Wagner nwagner@iam.uni-stuttgart...
Thu Dec 31 08:10:04 CST 2009


Hi all,

the segfault connected with lambertw vanished into thin 
air with
>>> scipy.__version__
'0.8.0.dev6162'


======================================================================
ERROR: test_decomp.test_lapack_misaligned(<function solve 
at 0x21bd398>, (array([[  1.734e-255,   8.189e-217, 
  4.025e-178,   1.903e-139,   9.344e-101,
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/nose-0.11.2.dev-py2.6.egg/nose/case.py", 
line 183, in runTest
     self.test(*self.arg)
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/scipy/linalg/tests/test_decomp.py", 
line 1109, in check_lapack_misaligned
     func(*a,**kwargs)
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/scipy/linalg/basic.py", 
line 127, in solve
     a1, b1 = map(asarray_chkfinite,(a,b))
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/numpy/lib/function_base.py", 
line 585, in asarray_chkfinite
     raise ValueError, "array must not contain infs or 
NaNs"
ValueError: array must not contain infs or NaNs

======================================================================
FAIL: test_random_real (test_basic.TestSingleIFFT)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/scipy/fftpack/tests/test_basic.py", 
line 205, in test_random_real
     assert_array_almost_equal (y1, x)
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/numpy/testing/utils.py", 
line 761, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/numpy/testing/utils.py", 
line 605, in assert_array_compare
     raise AssertionError(msg)
AssertionError:
Arrays are not almost equal

(mismatch 0.900900900901%)
  x: array([ 0.48450238 +7.51770290e-09j,  0.49108961 
+1.85425488e-08j,
         0.10608051 -6.62497541e-08j,  0.42776310 
-3.53591778e-09j,
         0.70493436 +5.46591927e-09j,  0.75120968 
+4.13782644e-08j,...
  y: array([ 0.48450235,  0.49108979,  0.10608055, 
 0.42776316,  0.70493436,
         0.75120968,  0.05061959,  0.94095784, 
 0.34811565,  0.622724  ,
         0.34106973,  0.50202626,  0.16626406, 
 0.29822108,  0.46144518,...

======================================================================
FAIL: test_lambertw.test_values
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/nose-0.11.2.dev-py2.6.egg/nose/case.py", 
line 183, in runTest
     self.test(*self.arg)
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/scipy/special/tests/test_lambertw.py", 
line 80, in test_values
     FuncData(w, data, (0,1), 2, rtol=1e-10, 
atol=1e-13).check()
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/scipy/special/tests/testutils.py", 
line 187, in check
     assert False, "\n".join(msg)
AssertionError:
Max |adiff|: 1.77636e-15
Max |rdiff|: 2.06237e-16
Bad results for the following points (in output 0):
(-0.40000000000000002+0.40000000000000002j) 
                             0j => 
                   (nan+nan*j) != 
(-0.10396515323290657+0.61899273315171632j)  (rdiff 
                           0.0)
(-0.44800000000000001+0.40000000000000002j) 
                             0j => 
                   (nan+nan*j) != 
(-0.11855133765652383+0.66570534313583418j)  (rdiff 
                           0.0)
(-0.44800000000000001-0.40000000000000002j) 
                             0j => 
                   (nan+nan*j) != 
(-0.11855133765652383-0.66570534313583418j)  (rdiff 
                           0.0)

----------------------------------------------------------------------
Ran 4259 tests in 77.614s

FAILED (KNOWNFAIL=11, SKIP=18, errors=1, failures=2)
  
Happy New Year !!

                    Nils


More information about the SciPy-Dev mailing list