Mercurial > octave
changeset 27826:ec79de142784
Remove deprecated warning ID "Octave:quadcc:RelTol-conversion" from quadcc.
* quadcc.cc (Fquadcc): Remove warning_with_id call for
"Octave:quadcc:RelTol-conversion".
Remove documentation on warning from docstring.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 13 Dec 2019 19:38:35 -0800 |
parents | 6fba9776a848 |
children | 67c07e264a32 |
files | libinterp/corefcn/quadcc.cc |
diffstat | 1 files changed, 0 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/quadcc.cc Fri Dec 13 18:28:35 2019 -0800 +++ b/libinterp/corefcn/quadcc.cc Fri Dec 13 19:38:35 2019 -0800 @@ -1551,13 +1551,6 @@ successive interpolations of the integrand over the nodes of the respective quadrature rules. -@c FIXME: DEPRECATED: Remove in Octave version 6. -Implementation Note: For Octave versions @leq{} 4.2, @code{quadcc} accepted a -single tolerance argument which specified the relative tolerance. For -versions 4.4 and 5, @code{quadcc} will issue a warning when called with a -single tolerance argument indicating that the meaning of this input has -changed from relative tolerance to absolute tolerance. The warning ID for this -message is @qcode{"Octave:quadcc:RelTol-conversion"}. The warning may be disabled with @code{warning ("off", "Octave:quadcc:RelTol-conversion")}. Reference: @nospell{P. Gonnet}, @cite{Increasing the Reliability of Adaptive @@ -1637,15 +1630,6 @@ if (tol.numel () == 1) { - // FIXME: DEPRECATED: Remove warning in Octave version 6. - static bool do_warn = true; - if (do_warn) - { - warning_with_id ("Octave:quadcc:RelTol-conversion", - "A single tolerance input now sets AbsTol, not RelTol"); - do_warn = false; - } - if (issingle) reltol = 1.0e-4; else