changeset 2559:112fd175d9f5

[project @ 1996-12-02 06:34:27 by jwe]
author jwe
date Mon, 02 Dec 1996 06:34:27 +0000
parents c097977bca6f
children 6fa1ac46c980
files liboctave/Array-idx.h liboctave/ChangeLog
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/Array-idx.h	Mon Dec 02 02:56:43 1996 +0000
+++ b/liboctave/Array-idx.h	Mon Dec 02 06:34:27 1996 +0000
@@ -193,7 +193,7 @@
 
   if (n != 0)
     {
-      if (liboctave_rre_flag)
+      if (liboctave_rre_flag && (rhs_len == n || rhs_len == 1))
 	{
 	  int max_idx = idx.max () + 1;
 	  if (max_idx > lhs_len)
--- a/liboctave/ChangeLog	Mon Dec 02 02:56:43 1996 +0000
+++ b/liboctave/ChangeLog	Mon Dec 02 06:34:27 1996 +0000
@@ -1,3 +1,7 @@
+Mon Dec  2 00:26:41 1996  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* Array-idx.h (assign): Only resize if assignment conforms.
+
 Wed Nov 20 01:00:40 1996  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* Makefile.in (INCLUDES): Delete lo-error.h.