[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gsl] Bug in gsl_interp_accel_find()
From: |
Thomas Weber |
Subject: |
[Help-gsl] Bug in gsl_interp_accel_find() |
Date: |
Wed, 03 Sep 2008 10:57:04 +0200 |
Hi,
consider the attached example code; the last assertion fails. Note that
idx2 == 0, but idx3 == 1.
The reason for that is that gsl_interp_accel_find() checks only for
strictly smaller/bigger values.
(Untested) patch attached.
Thomas
break-accel.c
Description: Text Data
interp.diff
Description: Text Data
- [Help-gsl] Bug in gsl_interp_accel_find(),
Thomas Weber <=