Mercurial > octave
changeset 26353:d43ba2c21d1d stable
ordschur.cc: Fix static analyzer detected issues (bug #55347).
* ordschur.cc (Fordschur): Call args(2).xoctave_idx_type_vector_value()
rather than incorrect version without prepended 'x'.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 01 Jan 2019 21:05:44 -0800 |
parents | 8020c9ba82fc |
children | 409120c6bf43 |
files | libinterp/corefcn/ordschur.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/ordschur.cc Tue Jan 01 20:58:32 2019 -0800 +++ b/libinterp/corefcn/ordschur.cc Tue Jan 01 21:05:44 2019 -0800 @@ -77,7 +77,7 @@ if (args.length () != 3) print_usage (); - const Array<octave_idx_type> sel_arg = args(2).octave_idx_type_vector_value ("ordschur: SELECT must be an array of integers"); + const Array<octave_idx_type> sel_arg = args(2).xoctave_idx_type_vector_value ("ordschur: SELECT must be an array of integers"); const octave_idx_type sel_n = sel_arg.numel ();