# HG changeset patch # User jwe # Date 1130436144 0 # Node ID b957f422224915d48b54d409fdee9a27c624c888 # Parent ae35b3381c7a2c75c91b72f9288840c68b603d22 [project @ 2005-10-27 18:02:24 by jwe] diff -r ae35b3381c7a -r b957f4222249 liboctave/Array.cc --- 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) diff -r ae35b3381c7a -r b957f4222249 liboctave/ChangeLog --- 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 + + * Array.cc (assignN): Reshape to final size instead of resizing. + 2005-10-26 John W. Eaton * oct-sparse.h: New file.