[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 13:21:25 -0400 (EDT) |
Update of bug #62412 (project octave):
Status: Confirmed => Patch Submitted
_______________________________________________________
Follow-up Comment #13:
Re: adding a quadcc warning, I think just the following should suffice just
before the final return statements:
if (err > std::max (abstol, fabs (igral) * reltol)
warning ("quadcc: Error tolerance not met. Estimated error: %e\n", err);
the attached patch does that, but since i'm not set up to build and test
didn't want to push it into quadcc. it doesn't check if nargin>1 first, but i
noticed quadgk warns whether err is requested or not, so figured this could do
similarly.
(file #53176)
_______________________________________________________
Additional Item Attachment:
File name: quadccwarning_bug62412.diff Size:0 KB
<https://file.savannah.gnu.org/file/quadccwarning_bug62412.diff?file_id=53176>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62412>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62412] integral gives consistent inaccurate result for improper integral to inf, (continued)
- [Octave-bug-tracker] [bug #62412] integral gives consistent inaccurate result for improper integral to inf, Nicholas Jankowski, 2022/05/04
- [Octave-bug-tracker] [bug #62412] integral gives consistent inaccurate result for improper integral to inf, John W. Eaton, 2022/05/04
- [Octave-bug-tracker] [bug #62412] integral gives consistent inaccurate result for improper integral to inf, Rik, 2022/05/04
- [Octave-bug-tracker] [bug #62412] integral gives consistent inaccurate result for improper integral to inf, Nicholas Jankowski, 2022/05/04
- [Octave-bug-tracker] [bug #62412] integral gives consistent inaccurate result for improper integral to inf, Rik, 2022/05/04
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Rik, 2022/05/04
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Nicholas Jankowski, 2022/05/04
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Michael Leitner, 2022/05/05
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Nicholas Jankowski, 2022/05/05
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Michael Leitner, 2022/05/05
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge,
Nicholas Jankowski <=
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Rik, 2022/05/05
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Michael Leitner, 2022/05/05
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Nicholas Jankowski, 2022/05/05
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Nicholas Jankowski, 2022/05/06
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Markus Mützel, 2022/05/07
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Rik, 2022/05/07
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Nicholas Jankowski, 2022/05/09
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Rik, 2022/05/10
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Rik, 2022/05/10
- [Octave-bug-tracker] [bug #62412] quadcc does not warn when quadrature fails to converge, Nicholas Jankowski, 2022/05/10