Mercurial > hg > octave-terminal
changeset 4418:c57f599bf7ea
[project @ 2003-05-25 19:13:57 by jwe]
author | jwe |
---|---|
date | Sun, 25 May 2003 19:13:57 +0000 |
parents | 5cca7b5d6b34 |
children | 8eb47d7ff594 |
files | src/ChangeLog src/ov-cx-mat.cc src/ov-cx-mat.h |
diffstat | 3 files changed, 13 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2003-05-25 John W. Eaton <jwe@bevo.che.wisc.edu> + + * ov-cx-mat.cc (octave_complex_matrix::assign): Move definition here. + * ov-cx-mat.h: From here. + 2003-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> * ov-range.cc (octave_range::try_narrowing_conversion): Convert to
--- a/src/ov-cx-mat.cc +++ b/src/ov-cx-mat.cc @@ -78,6 +78,13 @@ void octave_complex_matrix::assign (const octave_value_list& idx, + const ComplexMatrix& rhs) +{ + octave_base_matrix<ComplexMatrix>::assign (idx, rhs); +} + +void +octave_complex_matrix::assign (const octave_value_list& idx, const Matrix& rhs) { int len = idx.length ();
--- a/src/ov-cx-mat.h +++ b/src/ov-cx-mat.h @@ -78,8 +78,7 @@ octave_value *try_narrowing_conversion (void); - void assign (const octave_value_list& idx, const ComplexMatrix& rhs) - { octave_base_matrix<ComplexMatrix>::assign (idx, rhs); } + void assign (const octave_value_list& idx, const ComplexMatrix& rhs); void assign (const octave_value_list& idx, const Matrix& rhs);