help-gsl
[Top][All Lists]
Advanced

[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

Attachment: break-accel.c
Description: Text Data

Attachment: interp.diff
Description: Text Data


reply via email to

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