Skip to content
Snippets Groups Projects
Verified Commit ec5468c4 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Octave 7 compatibility fix: suppress spurious warnings

In this version of Octave, “warning on” really enables all warnings (while this
was not the case in Octave 6, suprisingly; I think this used to be different
with even older Octave releases).

We therefore need to explicitly disable the Octave:array-as-logical warnings,
that is triggered by some internal Octave functions.

We also need to be careful to call “warning_config” instead of “warning on”
when restoring warnings to their default state.
parent a0e78957
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment