[Scipy-tickets] [SciPy] #1534: The shape of the output of UnivariateSpline is incorrect

SciPy Trac scipy-tickets@scipy....
Sun Apr 15 06:57:15 CDT 2012


#1534: The shape of the output of UnivariateSpline is incorrect
-------------------------------+--------------------------------------------
 Reporter:  jpaalasm           |       Owner:  somebody      
     Type:  defect             |      Status:  needs_decision
 Priority:  normal             |   Milestone:  Unscheduled   
Component:  scipy.interpolate  |     Version:  0.9.0         
 Keywords:                     |  
-------------------------------+--------------------------------------------
Changes (by rgommers):

  * status:  new => needs_decision


Comment:

 I agree the suggested behavior is more consistent. The same thing was
 fixed in leastsq/curve_fit.  The cause is an explicit conversion in
 splev():
 {{{
         if len(y) > 1:
             return y
         return y[0]
 }}}
 Changing this may break some existing code though, so I'm not sure it
 should be done at this point. Can you bring it up on the mailing list?

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