[Scipy-tickets] [SciPy] #461: tests failing

SciPy scipy-tickets@scipy....
Fri Aug 3 12:27:23 CDT 2007


#461: tests failing
--------------------------+-------------------------------------------------
 Reporter:  johannct      |        Owner:  somebody
     Type:  defect        |       Status:  new     
 Priority:  normal        |    Milestone:          
Component:  scipy.linalg  |      Version:          
 Severity:  normal        |   Resolution:          
 Keywords:                |  
--------------------------+-------------------------------------------------
Comment (by johannct):

 with revision 3220 of scipy and the adding of AMD and UMFPACK libs I
 actually went past the errors above, and I now fail the same 2 tests, plus
 one new, though all in all I passes more tests (probably recently adddes):
 ======================================================================
 FAIL: check_dot (scipy.lib.tests.test_blas.test_fblas1_simple)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/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 "/usr/lib/python2.5/site-packages/numpy/testing/utils.py", line
 156, in assert_almost_equal
     assert round(abs(desired - actual),decimal) == 0, msg
 AssertionError:
 Items are not equal:
  ACTUAL: (430.759033203125-1.2478914260864258j)
  DESIRED: (-9+2j)

 ======================================================================
 FAIL: check_dot (scipy.linalg.tests.test_blas.test_fblas1_simple)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/lib/python2.5/site-packages/scipy/linalg/tests/test_blas.py",
 line 75, in check_dot
     assert_almost_equal(f([3j,-4,3-4j],[2,3,1]),-9+2j)
   File "/usr/lib/python2.5/site-packages/numpy/testing/utils.py", line
 156, in assert_almost_equal
     assert round(abs(desired - actual),decimal) == 0, msg
 AssertionError:
 Items are not equal:
  ACTUAL: (430.759033203125-1.2478914260864258j)
  DESIRED: (-9+2j)

 ======================================================================
 FAIL: check_qmr (scipy.linalg.tests.test_iterative.test_iterative_solvers)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/lib/python2.5/site-
 packages/scipy/linalg/tests/test_iterative.py", line 81, in check_qmr
     assert norm(dot(self.A, x) - self.b) < 5*self.tol
 AssertionError

 ----------------------------------------------------------------------
 Ran 1712 tests in 676.824s

-- 
Ticket URL: <http://projects.scipy.org/scipy/scipy/ticket/461#comment:2>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list