[Top][All Lists]

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

Re: [Help-gsl] GSL1.15: interp.c: 150: ERROR: interpolation error

Subject: Re: [Help-gsl] GSL1.15: interp.c: 150: ERROR: interpolation error
Date: Thu, 2 May 2013 15:13:37 +0200

Hello again,

I understand this change is an improvement to gsl, but for now I would Just 
like to make my code work. Although, when I change the code interp.c back to 
its ancient state is like the change is never saved, even if I saved it. Am I 
allowed to do that, that is, change this code?

Thank you for the help.


-----Message d'origine-----
De : Rhys Ulerich [mailto:address@hidden 
Envoyé : jeudi 2 mai 2013 14:13
Cc : GSL Help Mailing List
Objet : Re: [Help-gsl] GSL1.15: interp.c: 150: ERROR: interpolation error

>   if (x < interp->xmin || x > interp->xmax)
>     {
>       GSL_ERROR_VAL("interpolation error", GSL_EDOM, GSL_NAN);
>     }

That is exactly the line to which I was referring.  If you are
extrapolating using the interpolation routines (x < xmin || x > xmax),
you get an "interpolation error" from the line in your original bug

The changeset I mentioned was made because accidentally extrapolating
when you meant to interpolate is wildly dangerous.  I suspect your
code has been extrapolating all these years, and it is this recent
defensive fix that now causes it to report an error.

- Rhys

This mail has originated outside your organization, either from an external 
partner or the Global Internet.
Keep this in mind if you answer this message.

The information in this e-mail is confidential. The contents may not be 
disclosed or used by anyone other than the addressee. Access to this e-mail by 
anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and 
delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of 
this e-mail as it has been sent over public networks. If you have any concerns 
over the content of this message or its Accuracy or Integrity, please contact 
Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus 
scanning software but you should take whatever measures you deem to be 
appropriate to ensure that this message and any attachments are virus free.

reply via email to

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