changeset 6553:af5025cb0f2b

[project @ 2007-04-20 15:37:19 by jwe]
author jwe
date Fri, 20 Apr 2007 15:37:20 +0000
parents d933e1615bb1
children 5dde4dc2bcaf
files liboctave/Array.cc liboctave/ChangeLog scripts/ChangeLog scripts/plot/Makefile.in
diffstat 4 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/Array.cc	Fri Apr 20 14:43:21 2007 +0000
+++ b/liboctave/Array.cc	Fri Apr 20 15:37:20 2007 +0000
@@ -2569,7 +2569,7 @@
 	  for (octave_idx_type i = 0; i < rhs_len; i++)
 	    lhs.elem (i) = rhs.elem (i);
 	}
-      else if (rhs_len != 1)
+      else if (rhs_len != lhs_len)
 	(*current_liboctave_error_handler)
 	  ("A(:) = X: A must be the same size as X");
     }
--- a/liboctave/ChangeLog	Fri Apr 20 14:43:21 2007 +0000
+++ b/liboctave/ChangeLog	Fri Apr 20 15:37:20 2007 +0000
@@ -1,3 +1,8 @@
+2007-04-20  John W. Eaton  <jwe@octave.org>
+
+	* Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len,
+	not rhs_len == 1.
+
 2007-04-18  Michael Goffioul  <michael.goffioul@swing.be>
 
 	* oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API.
--- a/scripts/ChangeLog	Fri Apr 20 14:43:21 2007 +0000
+++ b/scripts/ChangeLog	Fri Apr 20 15:37:20 2007 +0000
@@ -1,3 +1,7 @@
+2007-04-20  John W. Eaton  <jwe@octave.org>
+
+	* plot/Makefile.in (SOURCES): Fix typo in adding __bar__.m to the list.
+
 2007-04-19  John W. Eaton  <jwe@octave.org>
 
 	* miscellaneous/unpack.m: Use gzip -d and bzip2 -d instead of
--- a/scripts/plot/Makefile.in	Fri Apr 20 14:43:21 2007 +0000
+++ b/scripts/plot/Makefile.in	Fri Apr 20 15:37:20 2007 +0000
@@ -22,7 +22,7 @@
 
 SOURCES = \
   __axis_label__.m \
-  __bar__m \
+  __bar__.m \
   __default_colormap__.m \
   __default_plot_options__.m \
   __errcomm__.m \