bugGNU Octave - Bugs: bug #51867, Warning in quadgk with zero size...

 
 

bug #51867: Warning in quadgk with zero size interval

Submitted by:  Avinoam Kalma <avinoam>
Submitted on:  Sun 27 Aug 2017 05:43:07 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: None
Originator Name: AvinoamOpen/Closed: Closed
Release: 4.2.1Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 29 Aug 2017 07:45:48 PM UTC, comment #5:

Link to this paper: http://faculty.smu.edu/shampine/rev2vadapt.pdf

Avinoam Kalma <avinoam>
Project Member
Tue 29 Aug 2017 02:26:11 PM UTC, comment #4:

A reference to the Shampine paper is

though its behind a paywall. The relavant text in this article is

"A computational distinction is that if reltol is positive, then rtol = max(reltol,100*eps), where eps is the unit roundoff in MATLAB. This prevents the code from attempting an accuracy unreasonable in the precision available."

David Bateman <dbateman>
Project Member
Tue 29 Aug 2017 02:14:33 PM UTC, comment #3:

I pushed your changeset here:

http://hg.savannah.gnu.org/hgweb/octave/rev/36e86c8150cc

I initially pushed on default, then I realized that this was a regression so I also grafted the change to stable.

John W. Eaton <jwe>
Project Administrator
Mon 28 Aug 2017 08:28:15 PM UTC, comment #2:

Thanks, it fixed the problem.

Avinoam Kalma <avinoam>
Project Member
Mon 28 Aug 2017 08:25:33 AM UTC, comment #1:

Thanks for the bug report, fixed in the attached patch.

(file #41687)

Marco Caliari <caliari>
Project Member
Sun 27 Aug 2017 05:43:07 PM UTC, original submission:

This warning is due to http://hg.savannah.gnu.org/hgweb/octave/rev/ed1722f70fad.
In the early exit from _quadgk_eval_ (line 441), q and err are not defined.

Avinoam Kalma <avinoam>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #41687:  quadgk.diff added by caliari (1KiB - application/x-tex)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by dbateman (Posted a comment)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by caliari (Updated the item)
  • -unavailable- added by avinoam (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    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
    Tue 29 Aug 2017 08:19:42 PM UTCrik5Open/ClosedOpen=>Closed
    Tue 29 Aug 2017 02:14:33 PM UTCjweStatusPatch Submitted=>Fixed
    Mon 28 Aug 2017 08:25:33 AM UTCcaliariAttached File-=>Added quadgk.diff, #41687
      StatusNone=>Patch Submitted

    Back to the top


    Powered by Savane 3.1-cleanup1