Mercurial > hg > octave-lyh
diff src/ov-complex.h @ 5759:ce79d238f142
[project @ 2006-04-13 13:04:32 by jwe]
author | jwe |
---|---|
date | Thu, 13 Apr 2006 13:04:33 +0000 |
parents | c7d5a534afa5 |
children | ace8d8d26933 |
line wrap: on
line diff
--- a/src/ov-complex.h +++ b/src/ov-complex.h @@ -64,16 +64,16 @@ ~octave_complex (void) { } - octave_value *clone (void) const { return new octave_complex (*this); } + octave_base_value *clone (void) const { return new octave_complex (*this); } // We return an octave_complex_matrix object here instead of an // octave_complex object so that in expressions like A(2,2,2) = 2 // (for A previously undefined), A will be empty instead of a 1x1 // object. - octave_value *empty_clone (void) const + octave_base_value *empty_clone (void) const { return new octave_complex_matrix (); } - octave_value *try_narrowing_conversion (void); + octave_base_value *try_narrowing_conversion (void); octave_value do_index_op (const octave_value_list& idx, int resize_ok);