Mercurial > hg > octave-lyh
changeset 5890:078f5b203e92
[project @ 2006-07-15 13:00:42 by jwe]
author | jwe |
---|---|
date | Sat, 15 Jul 2006 13:00:43 +0000 |
parents | 221611b173e8 |
children | beae0c02f101 |
files | src/ChangeLog src/oct-errno.cc.in src/ov-str-mat.h |
diffstat | 3 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2006-07-15 John W. Eaton <jwe@octave.org> + * oct-errno.cc.in (octave_errno::octave_errno): VALUE field in + errno_struct no longer const. + * DLD-FUNCTIONS/dispatch.cc (octave_dispatch::do_index_op): Declare resize_ok arg as bool, not int. Provide default value for resize_ok.
--- a/src/oct-errno.cc.in +++ b/src/oct-errno.cc.in @@ -39,7 +39,7 @@ struct errno_struct { const char *name; - const int value; + int value; }; static errno_struct errno_codes[] =
--- a/src/ov-str-mat.h +++ b/src/ov-str-mat.h @@ -207,7 +207,7 @@ octave_value permute (const Array<int>& vec, bool inv = false) const { return octave_value (charNDArray (matrix.permute (vec, inv)), true, '\''); } - octave_value resize (const dim_vector& dv, bool fill = false) const + octave_value resize (const dim_vector& dv, bool = false) const { charNDArray retval (matrix); retval.resize (dv);