Mercurial > octave
comparison libinterp/corefcn/inv.cc @ 31384:7802c652081f
inv: Initialize variable to silence valgrind warning (bug #63300).
* libinterp/corefcn/inv.cc (Finv): Initialize variable to silence valgrind
warning.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Wed, 02 Nov 2022 17:14:34 +0100 |
parents | 6cf02f842e74 |
children | e88a07dec498 |
comparison
equal
deleted
inserted
replaced
31383:fa025af77216 | 31384:7802c652081f |
---|---|
78 | 78 |
79 if (arg.rows () != arg.columns ()) | 79 if (arg.rows () != arg.columns ()) |
80 err_square_matrix_required ("inv", "A"); | 80 err_square_matrix_required ("inv", "A"); |
81 | 81 |
82 octave_value result; | 82 octave_value result; |
83 octave_idx_type info; | 83 octave_idx_type info = 0; |
84 double rcond = 0.0; | 84 double rcond = 0.0; |
85 float frcond = 0.0; | 85 float frcond = 0.0; |
86 bool isfloat = arg.is_single_type (); | 86 bool isfloat = arg.is_single_type (); |
87 | 87 |
88 if (arg.is_diag_matrix ()) | 88 if (arg.is_diag_matrix ()) |