[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gsl] Cspline interpolation problem

From: Brian Gough
Subject: Re: [Bug-gsl] Cspline interpolation problem
Date: Fri, 10 Sep 2004 18:43:08 +0100

Daniel Webb writes:
 > I have a set of data that kills cspline (all output is nan).  akima works
 > fine as far as I can tell.  I don't know a whole lot about splines, but
 > the data set is not that erratic (at least to my eye).

Thanks for the bug report.  

The NaN is triggered by two entries in the data with the same
x-coordinate (5.85), leading to a division by zero when calculating
the slope.

I'll make an entry in the BUGS file that this should be handled better.

Brian Gough

Network Theory Ltd,
Commercial support for GSL --- http://www.network-theory.co.uk/gsl/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]