[SciPy-dev] scipy trac ticket #600 UnivariateSpline error.
Michael McNeil Forbes
mforbes@physics.ubc...
Sat Mar 1 04:46:02 CST 2008
Hi,
Could someone please reclassify ticket #600: I did not classify it
properly when I submitted it and now I can't figure out how to
reclassify it. It has a small patch to ensure that spline evaluation
preserves the shape of the input array:
The following demonstrates the problem:
>>> from scipy.interpolate import UnivariateSpline
>>> from numpy import shape
>>> f = UnivariateSpline([0,1,2,3],[0,1,2,3])
>>> shape(4)
()
>>> shape(f(4))
(1,)
Thanks,
Michael.
More information about the Scipy-dev
mailing list