Mercurial > hg > octave-shane
changeset 4736:4179c59d82da
[project @ 2004-02-05 18:04:54 by jwe]
author | jwe |
---|---|
date | Thu, 05 Feb 2004 18:04:54 +0000 |
parents | 24c7bc6354ba |
children | 108c9a93196d |
files | liboctave/Array.cc liboctave/ChangeLog |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/Array.cc +++ b/liboctave/Array.cc @@ -2604,7 +2604,7 @@ bool idx_is_empty = any_zero_len (frozen_len); - if (rhs_is_empty) + if (rhs_dims.length () == 2 && rhs_dims(0) == 0 && rhs_dims(1) == 0) { lhs.maybe_delete_elements (idx, rfv); }
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,8 @@ +2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> + + * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for + deleting elements. + 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> * Array.cc (Array<T>::assignN): Accept assignment of a vector