This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: gsl_cspline_init bug?
- From: Kenneth Geisshirt <kenneth at geisshirt dot dk>
- To: "gsl-discuss at sources dot redhat dot com" <gsl-discuss at sources dot redhat dot com>
- Date: Wed, 6 Nov 2002 10:55:51 +0100 (CET)
- Subject: Re: gsl_cspline_init bug?
- Reply-to: kenneth at geisshirt dot dk
On Tue, 5 Nov 2002, R. Sean Bowman wrote:
> gsl: view_source.c:28: ERROR: vector length n must be positive integer
> Default GSL error handler invoked.
> Aborted
I can reproduce the error message. But if I set PTS to 10 (as the example
in the manual), the problem disappears.
> Isn't this a problem? Shouldn't csplines need more than two points to do
> interpolation?
Yes, and maybe we should validate the input parameters :-).
Kneth
--
Kenneth Geisshirt, M.Sc., Ph.D. http://kenneth.geisshirt.dk
Grøndals Parkvej 2A, 3. sal kenneth@geisshirt.dk
DK-2720 Vanløse +45 38 87 78 38