octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature f


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge
Date: Thu, 5 May 2022 16:42:41 -0400 (EDT)

Follow-up Comment #16, bug #62412 (project octave):

ok. if that's the case than for quadgk then just changing the final warning
to:


  if ((nargout > 1) && (err > max (abstol, reltol * abs (q)))))
    warning (warn_id,
             "quadgk: Error tolerance not met.  Estimated error %g", err);
  endif


simple patch for that attached.

there are other warnings, but they all terminate iteration as well. should to
stay even when the end tolerance warning is turned off? Includes:
"quadgk: maximum interval count (%d) exceeded"
and 
"quadgk: non-finite integrand encountered")


(file #53177)

    _______________________________________________________

Additional Item Attachment:

File name: quadgk_warn_suppress_bug62412.diff Size:0 KB
   
<https://file.savannah.gnu.org/file/quadgk_warn_suppress_bug62412.diff?file_id=53177>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62412>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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