Mercurial > hg > octave-nkf
diff liboctave/dDiagMatrix.cc @ 1360:7eb93d12654c
[project @ 1995-09-05 21:51:54 by jwe]
author | jwe |
---|---|
date | Tue, 05 Sep 1995 21:51:54 +0000 |
parents | 611d403c7f3d |
children | 33bb7975f866 |
line wrap: on
line diff
--- a/liboctave/dDiagMatrix.cc +++ b/liboctave/dDiagMatrix.cc @@ -37,9 +37,7 @@ #include "mx-inlines.cc" #include "lo-error.h" -/* - * Diagonal Matrix class. - */ +// Diagonal Matrix class. int DiagMatrix::operator == (const DiagMatrix& a) const @@ -446,6 +444,7 @@ operator << (ostream& os, const DiagMatrix& a) { // int field_width = os.precision () + 7; + for (int i = 0; i < a.rows (); i++) { for (int j = 0; j < a.cols (); j++)