comparison liboctave/array/fMatrix.cc @ 18632:cb37b17b6091

Initialize rcond value to octave_NaN. * liboctave/array/CMatrix.cc(rcond): Initialize rcon to octave_NaN * liboctave/array/dMatrix.cc(rcond): Initialize rcon to octave_NaN * liboctave/array/fMatrix.cc(rcond): Initialize rcon to octave_NaN * liboctave/array/fCMatrix.cc(rcond): Initialize rcon to octave_NaN
author PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
date Fri, 07 Mar 2014 23:14:37 +0530
parents 8e056300994b
children aa9ca67f09fb
comparison
equal deleted inserted replaced
18625:ee125c82e01e 18632:cb37b17b6091
1388 } 1388 }
1389 1389
1390 float 1390 float
1391 FloatMatrix::rcond (MatrixType &mattype) const 1391 FloatMatrix::rcond (MatrixType &mattype) const
1392 { 1392 {
1393 float rcon; 1393 float rcon = octave_NaN;
1394 octave_idx_type nr = rows (); 1394 octave_idx_type nr = rows ();
1395 octave_idx_type nc = cols (); 1395 octave_idx_type nc = cols ();
1396 1396
1397 if (nr != nc) 1397 if (nr != nc)
1398 (*current_liboctave_error_handler) ("matrix must be square"); 1398 (*current_liboctave_error_handler) ("matrix must be square");