[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 diff
--- a/liboctave/Array.cc
+++ b/liboctave/Array.cc
@@ -3164,7 +3164,7 @@
}
if (retval != 0)
- lhs.resize (final_lhs_dims);
+ lhs = lhs.reshape (final_lhs_dims);
}
if (retval != 0)
--- a/liboctave/ChangeLog
+++ b/liboctave/ChangeLog
@@ -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.