Mercurial > octave
diff libinterp/octave-value/ov.cc @ 30588:ed17822e7662
doc: Always have a return value for functions which set internal variables (bug #61681)
* call-stack.cc, dirfns.cc, environment.cc, error.cc, help.cc, input.cc,
load-save.cc, ls-oct-text.cc, oct-hist.cc, pager.cc, pr-flt-fmt.cc,
pr-output.cc, sighandlers.cc, svd.cc, variables.cc, ov-base.cc, ov-java.cc,
ov-struct.cc, ov-usr-fcn.cc, ov.cc, pt-eval.cc, disable_diagonal_matrix.m,
disable_permutation_matrix.m, disable_range.m:
Always have a return value for functions which set internal variables.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 01 Jan 2022 19:43:52 -0800 |
parents | 83f9f8bda883 |
children | 97504d2edcc7 |
line wrap: on
line diff
--- a/libinterp/octave-value/ov.cc Fri Dec 31 18:44:26 2021 +0100 +++ b/libinterp/octave-value/ov.cc Sat Jan 01 19:43:52 2022 -0800 @@ -3673,7 +3673,7 @@ doc: /* -*- texinfo -*- @deftypefn {} {@var{val} =} optimize_permutation_matrix () @deftypefnx {} {@var{old_val} =} optimize_permutation_matrix (@var{new_val}) -@deftypefnx {} {} optimize_permutation_matrix (@var{new_val}, "local") +@deftypefnx {} {@var{old_val} =} optimize_permutation_matrix (@var{new_val}, "local") Query or set whether a special space-efficient format is used for storing permutation matrices. @@ -3704,7 +3704,7 @@ doc: /* -*- texinfo -*- @deftypefn {} {@var{val} =} optimize_diagonal_matrix () @deftypefnx {} {@var{old_val} =} optimize_diagonal_matrix (@var{new_val}) -@deftypefnx {} {} optimize_diagonal_matrix (@var{new_val}, "local") +@deftypefnx {} {@var{old_val} =} optimize_diagonal_matrix (@var{new_val}, "local") Query or set whether a special space-efficient format is used for storing diagonal matrices. @@ -3749,7 +3749,7 @@ doc: /* -*- texinfo -*- @deftypefn {} {@var{val} =} optimize_range () @deftypefnx {} {@var{old_val} =} optimize_range (@var{new_val}) -@deftypefnx {} {} optimize_range (@var{new_val}, "local") +@deftypefnx {} {@var{old_val} =} optimize_range (@var{new_val}, "local") Query or set whether a special space-efficient format is used for storing ranges.