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

SciPy scipy-tickets@scipy....
Sat Nov 1 05:38:03 CDT 2008


#288: scipy.integrate.vectorize1 assumes user-supplied function returns a numpy
type
-----------------------------+----------------------------------------------
 Reporter:  peridot          |        Owner:  somebody
     Type:  defect           |       Status:  new     
 Priority:  normal           |    Milestone:  0.7.0   
Component:  scipy.integrate  |      Version:          
 Severity:  normal           |   Resolution:          
 Keywords:                   |  
-----------------------------+----------------------------------------------
Comment (by NeilMuller):

 The attached patch adds an hasattr guard around the call to y0.dtype, and
 a test using math.sin to ensure that functions returning floats will work.

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


More information about the Scipy-tickets mailing list