[Scipy-tickets] [SciPy] #384: TypeError: argument 2 must be list, not numpy.ndarray

SciPy scipy-tickets@scipy....
Mon Mar 5 02:40:57 CST 2007


#384: TypeError: argument 2 must be list, not numpy.ndarray
----------------------------+-----------------------------------------------
 Reporter:  nils            |       Owner:  somebody     
     Type:  enhancement     |      Status:  new          
 Priority:  normal          |   Milestone:  0.5.3 Release
Component:  scipy.optimize  |     Version:  devel        
 Severity:  normal          |    Keywords:               
----------------------------+-----------------------------------------------
 The optimizer fmin_tnc requires a list. This is not consistent with all
 other optimizers.

 {{{
   File "largest.py", line 56, in ?
     v = optimize.fmin_tnc(S,v_0,fprime=Sp)
   File "/usr/lib64/python2.4/site-packages/scipy/optimize/tnc.py", line
 221, in fmin_tnc
     fmin, ftol, rescale)
 TypeError: argument 2 must be list, not numpy.ndarray
 }}}

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


More information about the Scipy-tickets mailing list