Mercurial > hg > octave-nkf
diff src/ov.cc @ 4505:e944fbe3fff2
[project @ 2003-09-09 19:14:06 by jwe]
author | jwe |
---|---|
date | Tue, 09 Sep 2003 19:14:06 +0000 |
parents | 7afd4bf05aa8 |
children | 65f47f8a92a2 |
line wrap: on
line diff
--- a/src/ov.cc +++ b/src/ov.cc @@ -1221,6 +1221,11 @@ { retval = tmp->subsasgn (type, idx, rhs); + // The assignment may have converted to a type that + // is wider than necessary. + + retval.maybe_mutate (); + done = (! error_state); } else @@ -1746,6 +1751,7 @@ octave_scalar::register_type (); octave_complex::register_type (); octave_matrix::register_type (); + octave_double_nd_array::register_type (); octave_complex_matrix::register_type (); octave_range::register_type (); octave_bool::register_type ();