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

 
 

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

bug #24211: gsl_interp_accel_find() boundary condition error

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

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

fixed by
ab43a95ff1297039631c218fc1dbe0185f45f0cd
84e734a2065cc8664bb3fad326eacc011d9cdfae

-Deleted Account- <bjg>
Fri 05 Sep 2008 03:53:17 PM UTC, original submission:  

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

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

sorry, just realized that there's a separate list for bug reports
(originally posted to
http://lists.gnu.org/archive/html/help-gsl/2008-09/msg00003.html)


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

-Deleted Account- <bjg>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2008-09-05 bjg StatusConfirmed Fixed
    Open/ClosedOpen Closed
2008-09-05 bjg Attached File- Added break-accel.c, #16433
    Attached File- Added interp.diff, #16434

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code