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

SciPy scipy-tickets at scipy.net
Tue Dec 5 03:52:38 CST 2006


#328: TypeError: 'numpy.float64' object is not callable
-----------------------------+----------------------------------------------
 Reporter:  nils             |       Owner:  somebody
     Type:  defect           |      Status:  new     
 Priority:  normal           |   Milestone:          
Component:  scipy.integrate  |     Version:  devel   
 Severity:  normal           |    Keywords:          
-----------------------------+----------------------------------------------
 {{{
 >>> integrate.fixed_quad(sin(pi*x),0.,1.)
 Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File "/usr/lib64/python2.4/site-packages/scipy/integrate/quadrature.py",
 line 49, in fixed_quad
     return (b-a)/2.0*sum(w*func(y,*args),0), None
 TypeError: 'numpy.float64' object is not callable
 }}}

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


More information about the Scipy-tickets mailing list