Skip to content

Commit d88f8db

Browse files
committed
Switch from use of warning() to redirectable mp_warning().
1 parent 360cd79 commit d88f8db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_mll_main.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
persistent show_octave11_warning_once;
4242
if isempty(show_octave11_warning_once)
4343
show_octave11_warning_once = 1;
44-
warning(sprintf('\n###############################################################################\n# GNU Octave 11.x has a bug (https://savannah.gnu.org/bugs/index.php?68227) #\n# that results in lots of warnings when running MATPOWER. One workaround is #\n# to turn off all warnings using: warning off #\n# (applied automatically and temporarily for test_mll_main) #\n###############################################################################\n'));
44+
mp_warning(sprintf('\n###############################################################################\n# GNU Octave 11.x has a bug (https://savannah.gnu.org/bugs/index.php?68227) #\n# that results in lots of warnings when running MATPOWER. One workaround is #\n# to turn off all warnings using: warning off #\n# (applied automatically and temporarily for test_mll_main) #\n###############################################################################\n'));
4545
end
4646
w = warning();
4747
warning('off');

0 commit comments

Comments
 (0)