Mercurial > hg > octave-nkf
changeset 18255:c0f036b5e292
Finv: define xrcond correctly for float matrices (bug #41065)
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Thu, 02 Jan 2014 10:12:36 -0500 |
parents | 8f256148d82b |
children | 3d22b24863b9 |
files | libinterp/corefcn/inv.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/inv.cc +++ b/libinterp/corefcn/inv.cc @@ -213,7 +213,7 @@ retval(0) = result; - volatile double xrcond = rcond; + volatile double xrcond = isfloat ? frcond : rcond; xrcond += 1.0; if (nargout < 2 && (info == -1 || xrcond == 1.0)) warning ("inverse: matrix singular to machine precision, rcond = %g",