[Scipy-tickets] [SciPy] #1323: test_ncg fails on gradcalls assertion

SciPy Trac scipy-tickets@scipy....
Fri Nov 5 00:40:49 CDT 2010


#1323: test_ncg fails on gradcalls assertion
----------------------+-----------------------------------------------------
 Reporter:  scholz    |       Owner:  somebody
     Type:  defect    |      Status:  new     
 Priority:  normal    |   Milestone:  0.9.0   
Component:  Other     |     Version:  0.8.0   
 Keywords:  test_ncg  |  
----------------------+-----------------------------------------------------
 Python 2.7 (r27:82500, Nov  4 2010, 15:52:37)
 [GCC 4.3.4 [gcc-4_3-branch revision 152973]] on linux2

 Numpy 1.5.1rc1
 Scipy 0.9.0.dev6859


 > nosetests test_optimize.py
 ......F....
 ======================================================================
 FAIL: test_ncg (test_optimize.TestOptimize)
 line-search Newton conjugate gradient optimization routine
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/local/lib/python2.7/site-
 packages/scipy/optimize/tests/test_optimize.py", line 177, in test_ncg
     assert_(self.gradcalls == 18, self.gradcalls) # 0.8.0
   File "/usr/local/lib/python2.7/site-packages/numpy/testing/utils.py",
 line 34, in assert_
     raise AssertionError(msg)
 AssertionError: 16

 ----------------------------------------------------------------------
 Ran 11 tests in 0.037s

 FAILED (failures=1)

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


More information about the Scipy-tickets mailing list