[Scipy-tickets] [SciPy] #269: bug in UnivariateSpline.roots() (may be related to ticket 201)

SciPy scipy-tickets at scipy.net
Fri Sep 22 02:00:54 CDT 2006


#269: bug in UnivariateSpline.roots() (may be related to ticket 201)
---------------------+------------------------------------------------------
 Reporter:  peridot  |       Owner:  somebody
     Type:  defect   |      Status:  new     
 Priority:  normal   |   Milestone:          
Component:  Other    |     Version:          
 Severity:  normal   |    Keywords:          
---------------------+------------------------------------------------------
 Trying to extract the roots of a UnivariateSpline results in a cryptic
 message "0-th dimension must be fixed to 8 but got 4" and a failure
 "error: failed in converting 2nd argument `c' of dfitpack.sproot to
 C/Fortran array".

 Code to reproduce the problem:
 {{{
 from scipy.interpolate import UnivariateSpline as Spline
 s = Spline(arange(4),arange(4))
 s.roots()
 }}}

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


More information about the Scipy-tickets mailing list