Mercurial > octave-nkf
diff src/xpow.cc @ 6207:3c92b8d892dd
[project @ 2006-12-06 20:19:14 by dbateman]
author | dbateman |
---|---|
date | Wed, 06 Dec 2006 20:19:16 +0000 |
parents | ace8d8d26933 |
children | 93c65f2a5668 |
line wrap: on
line diff
--- a/src/xpow.cc Wed Dec 06 20:10:03 2006 +0000 +++ b/src/xpow.cc Wed Dec 06 20:19:16 2006 +0000 @@ -192,8 +192,9 @@ octave_idx_type info; double rcond = 0.0; + MatrixType mattype (a); - atmp = a.inverse (info, rcond, 1); + atmp = a.inverse (mattype, info, rcond, 1); if (info == -1) warning ("inverse: matrix singular to machine\ @@ -388,8 +389,9 @@ octave_idx_type info; double rcond = 0.0; + MatrixType mattype (a); - atmp = a.inverse (info, rcond, 1); + atmp = a.inverse (mattype, info, rcond, 1); if (info == -1) warning ("inverse: matrix singular to machine\