[SciPy-user] Change in behaviour of interpolate.interp1d

Pauli Virtanen pav@iki...
Tue Mar 3 13:20:12 CST 2009


Tue, 03 Mar 2009 11:08:23 +0000, Jeremy Sanders wrote:

> Hi - I just got hit by the change in behaviour of interpolate.interp1d
> as Fedora have just pushed scipy 0.7.0.
[clip]
> In [3]: f = scipy.interpolate.interpolate.interp1d(
> numpy.array([1,2,3,4]), numpy.array([1,2,3,4]), kind='cubic')
> 
> In [4]: f(3.1)
> Out[4]: array(3.1000000000000019)
> 
> Maybe the release notes should be changed?

Yes, sorry. I missed this change. Probably needs to be mentioned in the 
release notes.

-- 
Pauli Virtanen



More information about the SciPy-user mailing list