Mercurial > hg > octave-nkf
diff liboctave/PermMatrix.cc @ 8375:e3c9102431a9
fix design problems of diag & perm matrix classes
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Fri, 05 Dec 2008 10:20:18 +0100 |
parents | 445d27d79f4e |
children | 937921654627 |
line wrap: on
line diff
--- a/liboctave/PermMatrix.cc +++ b/liboctave/PermMatrix.cc @@ -123,7 +123,7 @@ PermMatrix operator *(const PermMatrix& a, const PermMatrix& b) { - const Array<octave_idx_type>& ia = a, ib = b; + const Array<octave_idx_type> ia = a.pvec (), ib = b.pvec (); PermMatrix r; octave_idx_type n = a.columns (); if (n != b.rows ())