[Scipy-tickets] [SciPy] #328: TypeError: 'numpy.float64' object is not callable

SciPy scipy-tickets at scipy.net
Tue Dec 5 04:08:14 CST 2006


#328: TypeError: 'numpy.float64' object is not callable
-----------------------------+----------------------------------------------
 Reporter:  nils             |        Owner:  somebody
     Type:  defect           |       Status:  closed  
 Priority:  normal           |    Milestone:          
Component:  scipy.integrate  |      Version:  devel   
 Severity:  normal           |   Resolution:  invalid 
 Keywords:                   |  
-----------------------------+----------------------------------------------
Changes (by stefan):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 '''sin(pi*x)''' is a float, not a function.  The following, for example,
 works:

 '''integrate.fixed_quad(lambda x: sin(pi*x),0.,1.)'''

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


More information about the Scipy-tickets mailing list