[Scipy-tickets] [SciPy] #1150: fmin_ncg test sometimes not converging

SciPy Trac scipy-tickets@scipy....
Sat Jul 3 23:57:14 CDT 2010


#1150: fmin_ncg test sometimes not converging
----------------------------+-----------------------------------------------
 Reporter:  rgommers        |       Owner:  somebody    
     Type:  defect          |      Status:  needs_review
 Priority:  normal          |   Milestone:  0.8.0       
Component:  scipy.optimize  |     Version:  devel       
 Keywords:                  |  
----------------------------+-----------------------------------------------
Changes (by rgommers):

  * status:  new => needs_review


Comment:

 Looks like the fix is to replace

 {{{if curv == 0.0:}}}

 with:

 {{{if 0 <= curv <= 3*numpy.finfo(numpy.float64).eps:}}}

 on line 1076 of optimize.py

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


More information about the Scipy-tickets mailing list