[Scipy-tickets] [SciPy] #1663: splev gives wrong values or crashes outside of support when der == k

SciPy Trac scipy-tickets@scipy....
Thu May 24 21:02:51 CDT 2012


#1663: splev gives wrong values or crashes outside of support when der == k
-------------------------------+--------------------------------------------
 Reporter:  hayne              |       Owner:  somebody   
     Type:  defect             |      Status:  new        
 Priority:  normal             |   Milestone:  Unscheduled
Component:  scipy.interpolate  |     Version:  0.10.0     
 Keywords:  splev              |  
-------------------------------+--------------------------------------------
 Evaluating the derivative of a spline (from splrep) outside of the range
 of its knots sometimes gives wrong values or crashes if the order of the
 derivative is equal to the spline order.

 The supplied example script demonstrates this for two cases:
 1) evaluating the 1st derivative of a linear spline
 2) evaluating the 2nd derivative of a quadratic spline

 On Windows XP, with scipy 0.10.1, the first case gives a 1st deriv of 0.0
 outside the knot range, while the second case crashes ("python.exe has
 encountered a problem ...")

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


More information about the Scipy-tickets mailing list