[Scipy-tickets] [SciPy] #789: Memory error interpolate.sproot

SciPy Trac scipy-tickets@scipy....
Tue Dec 14 22:03:48 CST 2010


#789: Memory error interpolate.sproot
-------------------------------+--------------------------------------------
 Reporter:  nils               |       Owner:  somebody
     Type:  defect             |      Status:  new     
 Priority:  normal             |   Milestone:  0.9.0   
Component:  scipy.interpolate  |     Version:  devel   
 Keywords:                     |  
-------------------------------+--------------------------------------------

Comment(by tosborne):

 #This seems to function as a work around.
 from scipy.interpolate import fitpack
 t,c,k = tck
 c = numpy.concatenate( ( c, numpy.array([0]*4,dtype=c.dtype) ) )
 z,m,ier=fitpack.dfitpack.sproot(t,c,mest=10)
 # z[:m] are the roots
 # k must be 3, should raise and error otherwise

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