Mercurial > hg > octave-lyh
changeset 4580:cb1b4271643c
[project @ 2003-10-31 14:34:45 by jwe]
author | jwe |
---|---|
date | Fri, 31 Oct 2003 14:34:45 +0000 |
parents | 0854429eb037 |
children | f99c430316cd |
files | src/ChangeLog src/ov-base.cc src/ov-base.h src/ov-bool-mat.h |
diffstat | 4 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,10 @@ 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> + * ov-base.cc (octave_base_value::bool_array_value): + Function takes no args. + * ov-base.h: Likewise, for decl. + * ov-bool-mat.h (boolNDArray::bool_array_value): Likewise. + * ov-fcn.cc, ov-fcn.h (octave_value::clone, octave_value::empty_clone): Return type is octave_value*, not octave_function*.
--- a/src/ov-base.cc +++ b/src/ov-base.cc @@ -359,7 +359,7 @@ } boolNDArray -octave_base_value::bool_array_value (bool) const +octave_base_value::bool_array_value (void) const { boolNDArray retval; gripe_wrong_type_arg ("octave_base_value::bool_array_value()",
--- a/src/ov-base.h +++ b/src/ov-base.h @@ -200,7 +200,7 @@ boolMatrix bool_matrix_value (void) const; - boolNDArray bool_array_value (bool = false) const; + boolNDArray bool_array_value (void) const; charMatrix char_matrix_value (bool = false) const;
--- a/src/ov-bool-mat.h +++ b/src/ov-bool-mat.h @@ -110,7 +110,7 @@ boolMatrix bool_matrix_value (void) const { return matrix.matrix_value (); } - boolNDArray bool_array_value (bool = false) const + boolNDArray bool_array_value (void) const { return matrix; } octave_value convert_to_str_internal (bool pad, bool force) const;