bugGNU Scientific Library - Bugs: bug #40116, possible error in integration...

 
 

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

bug #40116: possible error in integration routines

Submitter:  Patrick Alken <psa>
Submitted:  Thu 26 Sep 2013 09:34:45 PM UTC
   
 
Category:  Runtime error Severity:  3 - Normal
Operating System:  Status:  None
Assigned to:  None Open/Closed:  Open
Release: 

Thu 26 Sep 2013 09:34:45 PM UTC, original submission:  

(from seneika00@aol.com)

Hello,

I apologize if this is the wrong place. I’m currently working with the integration utilities
of GSL and I’d like some help about this particular point.

I’m not sure the function defined in the file integration/qpsrt2.c and invoked, for example,
at line 418 of integration/qags.c is doing what it should, according to the original
algorithm, nor according to the comment

        /* test whether the interval to be bisected next is the
           smallest interval. */

at line 415 of qags.c.

In the QUADPACK version (http://www.netlib.org/quadpack/dqagse.f), at line 360 we can
see the actual test being performed

        if(dabs(blist(maxerr)-alist(maxerr)).gt.small) go to 90

I think the refining loop may fail at some point, since the loop won’t cycle when the test
evaluates to true.

I don’t have a buggy case to report but it seems to me that it isn’t right.


Thank you for any help,
Seneika.

Patrick Alken <psa>
Group administrator

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psa (Submitted the item)
  •  

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code