[Scipy-tickets] [SciPy] #288: scipy.integrate.vectorize1 assumes user-supplied function returns a numpy type

SciPy scipy-tickets at scipy.net
Fri Oct 13 15:28:23 CDT 2006


#288: scipy.integrate.vectorize1 assumes user-supplied function returns a numpy
type
-----------------------------+----------------------------------------------
 Reporter:  peridot          |       Owner:  somebody
     Type:  defect           |      Status:  new     
 Priority:  normal           |   Milestone:          
Component:  scipy.integrate  |     Version:          
 Severity:  normal           |    Keywords:          
-----------------------------+----------------------------------------------
 The function vectorize1 is used to vectorize and supply additional
 arguments to a user-supplied function (for example in romberg()).
 Unfortunately, when the functions it yields are called on vectors, they
 get the first value by calling the function once, then ask for "y.dtype",
 which fails for python floats.

 I'm not sure what the bes solution is.

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


More information about the Scipy-tickets mailing list