Mercurial > octave-nkf
changeset 5516:b957f4222249
[project @ 2005-10-27 18:02:24 by jwe]
author | jwe |
---|---|
date | Thu, 27 Oct 2005 18:02:24 +0000 |
parents | ae35b3381c7a |
children | 947aa3464e1d |
files | liboctave/Array.cc liboctave/ChangeLog |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/Array.cc Thu Oct 27 16:46:07 2005 +0000 +++ b/liboctave/Array.cc Thu Oct 27 18:02:24 2005 +0000 @@ -3164,7 +3164,7 @@ } if (retval != 0) - lhs.resize (final_lhs_dims); + lhs = lhs.reshape (final_lhs_dims); } if (retval != 0)
--- a/liboctave/ChangeLog Thu Oct 27 16:46:07 2005 +0000 +++ b/liboctave/ChangeLog Thu Oct 27 18:02:24 2005 +0000 @@ -1,3 +1,7 @@ +2005-10-27 John W. Eaton <jwe@octave.org> + + * Array.cc (assignN): Reshape to final size instead of resizing. + 2005-10-26 John W. Eaton <jwe@octave.org> * oct-sparse.h: New file.