Skip to content

Instantly share code, notes, and snippets.

@souravsingh
Created November 22, 2016 08:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save souravsingh/64be224dc4855d1e80de2eb22806ae0b to your computer and use it in GitHub Desktop.
Save souravsingh/64be224dc4855d1e80de2eb22806ae0b to your computer and use it in GitHub Desktop.
======================================================================
ERROR: test_nonlin.TestNonlin.test_problem_nonlin(<function F4_powell at 0x7f0a5c5c1410>, <function newton_krylov at 0x7f0a604d2230>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/sourav/miniconda2/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/sourav/scipy/build/testenv/lib/python2.7/site-packages/scipy/optimize/tests/test_nonlin.py", line 105, in _check_nonlin_func
x = func(f, f.xin, f_tol=f_tol, maxiter=200, verbose=0)
File "<string>", line 8, in newton_krylov
File "/home/sourav/scipy/build/testenv/lib/python2.7/site-packages/scipy/optimize/nonlin.py", line 347, in nonlin_solve
raise NoConvergence(_array_like(x, x0))
NoConvergence: [ 0.00196136 0.05025112]
======================================================================
FAIL: test_nonlin.TestNonlin.test_problem_root(<function F4_powell at 0x7f0a5c5c1410>, 'krylov')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/sourav/miniconda2/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/sourav/scipy/build/testenv/lib/python2.7/site-packages/scipy/optimize/tests/test_nonlin.py", line 111, in _check_root
assert_(np.absolute(res.fun).max() < f_tol)
File "/home/sourav/miniconda2/lib/python2.7/site-packages/numpy/testing/utils.py", line 53, in assert_
raise AssertionError(smsg)
AssertionError
----------------------------------------------------------------------
Ran 23217 tests in 470.814s
FAILED (KNOWNFAIL=59, SKIP=1851, errors=1, failures=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment