Mercurial > octave-nkf
diff liboctave/sparse-dmsolve.cc @ 14999:1316bfc6e260 stable
Fix think-o in 4315a39da4c9
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Sat, 21 Jul 2012 10:23:00 -0400 |
parents | 4315a39da4c9 |
children | 4328e28414aa |
line wrap: on
line diff
--- a/liboctave/sparse-dmsolve.cc Fri Jul 20 09:38:02 2012 -0400 +++ b/liboctave/sparse-dmsolve.cc Sat Jul 21 10:23:00 2012 -0400 @@ -49,7 +49,7 @@ // Cast to uint64 to handle overflow in this multiplication if (octave_uint64 (nr)*octave_uint64 (nc) < octave_uint64 (maxnz)) - nz = nr*nz; + nz = nr*nc; else nz = maxnz;