[SciPy-User] problem with scipy's test

心如烛光 275438859 at qq.com
Wed Sep 5 12:57:14 EDT 2012


Hi,every body.
    I encounter the error while the scipy is testing .
    I wanna know why and how to fix it.(OSX lion 10.7.4)
    here is part of the respond:


AssertionError: 
Not equal to tolerance rtol=4.44089e-13, atol=4.44089e-13
error for eigsh:general, typ=d, which=SA, sigma=0.5, mattype=asarray, OPpart=None, mode=buckling
(mismatch 100.0%)
 x: array([[ 15.86892331,   0.0549568 ],
       [ 14.15864153,   0.31381369],
       [ 10.99691307,   0.37543458],...
 y: array([[ 3.19549052,  0.0549568 ],
       [ 2.79856422,  0.31381369],
       [ 1.67526354,  0.37543458],...


======================================================================
FAIL: test_arpack.test_symmetric_modes(True, <gen-symmetric>, 'd', 2, 'SA', None, 0.5, <function asarray at 0x10f5c2b90>, None, 'cayley')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/sparse/linalg/eigen/arpack/tests/test_arpack.py", line 249, in eval_evec
    assert_allclose(LHS, RHS, rtol=rtol, atol=atol, err_msg=err)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 1178, in assert_allclose
    verbose=verbose, header=header)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 644, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Not equal to tolerance rtol=4.44089e-13, atol=4.44089e-13
error for eigsh:general, typ=d, which=SA, sigma=0.5, mattype=asarray, OPpart=None, mode=cayley
(mismatch 100.0%)
 x: array([[-0.36892684, -0.01935691],
       [-0.26850996, -0.11053158],
       [-0.40976156, -0.13223572],...
 y: array([[-0.43633077, -0.01935691],
       [-0.25161386, -0.11053158],
       [-0.36756684, -0.13223572],...


----------------------------------------------------------------------
Ran 5501 tests in 56.993s


FAILED (KNOWNFAIL=13, SKIP=42, failures=76)
<nose.result.TextTestResult run=5501 errors=0 failures=76>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20120906/ba77b083/attachment.html>


More information about the SciPy-User mailing list