Mercurial > hg > octave-nkf
diff src/ov.cc @ 5785:6b9cec830d72
[project @ 2006-05-03 19:32:46 by dbateman]
author | dbateman |
---|---|
date | Wed, 03 May 2006 19:32:48 +0000 |
parents | faafc2d98b8d |
children | 080c08b192d8 |
line wrap: on
line diff
--- a/src/ov.cc +++ b/src/ov.cc @@ -373,8 +373,8 @@ { } -octave_value::octave_value (const Matrix& m) - : rep (new octave_matrix (m)) +octave_value::octave_value (const Matrix& m, const MatrixType& t) + : rep (new octave_matrix (m, t)) { maybe_mutate (); } @@ -415,8 +415,8 @@ maybe_mutate (); } -octave_value::octave_value (const ComplexMatrix& m) - : rep (new octave_complex_matrix (m)) +octave_value::octave_value (const ComplexMatrix& m, const MatrixType& t) + : rep (new octave_complex_matrix (m, t)) { maybe_mutate (); } @@ -456,8 +456,8 @@ { } -octave_value::octave_value (const boolMatrix& bm) - : rep (new octave_bool_matrix (bm)) +octave_value::octave_value (const boolMatrix& bm, const MatrixType& t) + : rep (new octave_bool_matrix (bm, t)) { maybe_mutate (); } @@ -530,19 +530,19 @@ maybe_mutate (); } -octave_value::octave_value (const SparseMatrix& m, const SparseType &t) +octave_value::octave_value (const SparseMatrix& m, const MatrixType &t) : rep (new octave_sparse_matrix (m, t)) { maybe_mutate (); } -octave_value::octave_value (const SparseComplexMatrix& m, const SparseType &t) +octave_value::octave_value (const SparseComplexMatrix& m, const MatrixType &t) : rep (new octave_sparse_complex_matrix (m, t)) { maybe_mutate (); } -octave_value::octave_value (const SparseBoolMatrix& bm, const SparseType &t) +octave_value::octave_value (const SparseBoolMatrix& bm, const MatrixType &t) : rep (new octave_sparse_bool_matrix (bm, t)) { maybe_mutate ();