Mercurial > octave
view CITATION @ 32095:28ef2991fb5a
Emit warning about infinite loop if for loop range starts with infinite value.
* pt-eval.cc (execute_range_loop): Check base of range, in addition to limit of
range, for infinite value and emit warning if found.
* for.tst: Add tests for new behavior. Recode tests so that they don't emit
warnings if file 'for.tst' is tested outside of test suite.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 17 May 2023 20:29:17 -0700 |
parents | fdadf31961bb |
children | 6fc591af58ba |
line wrap: on
line source
To cite GNU Octave in publications use: John W. Eaton, David Bateman, Søren Hauberg, Rik Wehbring (2023). GNU Octave version 8.2.0 manual: a high-level interactive language for numerical computations. URL https://www.gnu.org/software/octave/doc/v8.2.0/ A BibTeX entry for LaTeX users is: @manual{, title = {{GNU Octave} version 8.2.0 manual: a high-level interactive language for numerical computations}, author = {John W. Eaton and David Bateman and S{\o}ren Hauberg and Rik Wehbring}, year = {2023}, url = {https://www.gnu.org/software/octave/doc/v8.2.0/}, } We have invested a lot of time and effort in creating GNU Octave, please cite it when using it. See also 'citation pkgname' for citing Octave packages.