bugGNU Scientific Library - Bugs: bug #24211, gsl_interp_accel_find() boundary...


You are not allowed to post comments on this tracker with your current authentification level.

bug #24211: gsl_interp_accel_find() boundary condition error

Submitted by:  -Deleted Account- <bjg>
Submitted on:  Fri 05 Sep 2008 03:53:17 PM UTC  
Category: Runtime errorSeverity: 4 - Important
Operating System: Status: Fixed
Assigned to: -Deleted Account- <bjg>Open/Closed: Closed
Release: 1.11

Fri 05 Sep 2008 03:59:20 PM UTC, comment #1:

fixed by

-Deleted Account- <bjg>In charge of this item.
Fri 05 Sep 2008 03:53:17 PM UTC, original submission:

From: Thomas Weber <thomas.weber.mail@gmail.com>
To: -unavailable-
Subject: [Bug-gsl] Bug in gsl_interp_accel_find()
Date: Wed, 03 Sep 2008 14:18:15 +0200

[1 <text/plain (7bit)>]

sorry, just realized that there's a separate list for bug reports
(originally posted to

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.


-Deleted Account- <bjg>In charge of this item.


Attached Files
file #16433:  break-accel.c added by bjg (513B - text/x-csrc)
file #16434:  interp.diff added by bjg (503B - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Please enter the title of George Orwell's famous dystopian book (it's a date):



Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 05 Sep 2008 03:59:20 PM UTCbjgStatusConfirmed=>Fixed
Fri 05 Sep 2008 03:53:17 PM UTCbjgAttached File-=>Added break-accel.c, #16433
  Attached File-=>Added interp.diff, #16434

Back to the top

Powered by Savane 3.1-cleanup