[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] GSL1.15: interp.c: 150: ERROR: interpolation error
From: |
Rhys Ulerich |
Subject: |
Re: [Help-gsl] GSL1.15: interp.c: 150: ERROR: interpolation error |
Date: |
Thu, 2 May 2013 07:13:15 -0500 |
> 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
report.
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
- [Help-gsl] GSL1.15: interp.c: 150: ERROR: interpolation error, CRUZ-CAVALCANTI, Yanna, 2013/05/02
- Re: [Help-gsl] GSL1.15: interp.c: 150: ERROR: interpolation error, Rhys Ulerich, 2013/05/02
- Message not available
- Re: [Help-gsl] GSL1.15: interp.c: 150: ERROR: interpolation error, CRUZ-CAVALCANTI, Yanna, 2013/05/02
- Re: [Help-gsl] GSL1.15: interp.c: 150: ERROR: interpolation error,
Rhys Ulerich <=
- Message not available
- Re: [Help-gsl] GSL1.15: interp.c: 150: ERROR: interpolation error, CRUZ-CAVALCANTI, Yanna, 2013/05/02
- Re: [Help-gsl] GSL1.15: interp.c: 150: ERROR: interpolation error, jeremy theler, 2013/05/02
- Re: [Help-gsl] GSL1.15: interp.c: 150: ERROR: interpolation error, Rhys Ulerich, 2013/05/02
- Re: [Help-gsl] GSL1.15: interp.c: 150: ERROR: interpolation error, jeremy theler, 2013/05/03
- Re: [Help-gsl] GSL1.15: interp.c: 150: ERROR: interpolation error, Rhys Ulerich, 2013/05/03
- Re: [Help-gsl] GSL1.15: interp.c: 150: ERROR: interpolation error, David Zaslavsky, 2013/05/05
- Re: [Help-gsl] multidim interpolation, jeremy theler, 2013/05/08
- Re: [Help-gsl] multidim interpolation, Sam Mason, 2013/05/09
- Re: [Help-gsl] GSL1.15: interp.c: 150: ERROR: interpolation error, Patrick Alken, 2013/05/03