[Scipy-tickets] [SciPy] #629: Pb with scipy.interpolate.spalde and numpy.float64

SciPy scipy-tickets@scipy....
Tue Dec 9 13:55:13 CST 2008

#629: Pb with scipy.interpolate.spalde and numpy.float64
 Reporter:  Elby               |        Owner:  somebody
     Type:  defect             |       Status:  new     
 Priority:  normal             |    Milestone:  0.7.0   
Component:  scipy.interpolate  |      Version:          
 Severity:  normal             |   Resolution:          
 Keywords:                     |  
Comment (by Elby):

 I've attached a short patch which seems to solve the problem, by removing
 the use of the .tolist method.

 Indeed the ndarray.tolist method does not always return a list, it returns
 a number in the case of numpy.float64.

 That's why I propose to replace this part of the function with a call to
 the myarray function, as it is done in others functions like splev.

Ticket URL: <http://scipy.org/scipy/scipy/ticket/629#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