FAIL: TNC: test 1 (approx. gradient)
====================================================================== FAIL: TNC: test 1 (approx. gradient) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/nwagner/local/lib64/python2.6/site-packages/scipy/optimize/tests/test_optimize.py", line 590, in test_tnc1b optimize.tnc.RCSTRINGS[rc]) File "/home/nwagner/local/lib64/python2.6/site-packages/numpy/testing/utils.py", line 1213, in assert_allclose verbose=verbose, header=header) File "/home/nwagner/local/lib64/python2.6/site-packages/numpy/testing/utils.py", line 677, in assert_array_compare raise AssertionError(msg) AssertionError: Not equal to tolerance rtol=1e-07, atol=1e-06 TNC failed with status: Converged (|f_n-f_(n-1)| ~= 0) (mismatch 100.0%) x: array(6.8110123995028524e-06) y: array(0.0) ---------------------------------------------------------------------- Ran 5186 tests in 173.913s FAILED (KNOWNFAIL=12, SKIP=28, failures=1) <nose.result.TextTestResult run=5186 errors=0 failures=1>
scipy.__version__ '0.11.0.dev-5e4b68f'
Nils Wagner wrote:
AssertionError: Not equal to tolerance rtol=1e-07, atol=1e-06 TNC failed with status: Converged (|f_n-f_(n-1)| ~= 0) (mismatch 100.0%) x: array(6.8110123995028524e-06) y: array(0.0)
---------------------------------------------------------------------- Ran 5186 tests in 173.913s
FAILED (KNOWNFAIL=12, SKIP=28, failures=1) <nose.result.TextTestResult run=5186 errors=0 failures=1>
scipy.__version__ '0.11.0.dev-5e4b68f'
I increased the tolerance in this very commit after noticing that this test fails on some architectures. But 1e-6 is still too small apparently. I'll go for 1e-4 to be conservative. Thanks for reporting. -- Denis
participants (2)
-
Denis Laxalde
-
Nils Wagner