[SciPy-Dev] FAIL: TNC: test 1 (approx. gradient)

Denis Laxalde denis.laxalde@mcgill...
Tue Jan 17 14:16:04 CST 2012


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


More information about the SciPy-Dev mailing list