# HG changeset patch # User jwe # Date 1177083440 0 # Node ID af5025cb0f2b6c0106197a0d37712666c602f088 # Parent d933e1615bb149cac4b6f8e1066851603bcecdc6 [project @ 2007-04-20 15:37:19 by jwe] diff -r d933e1615bb1 -r af5025cb0f2b liboctave/Array.cc --- 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"); } diff -r d933e1615bb1 -r af5025cb0f2b liboctave/ChangeLog --- 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 + + * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, + not rhs_len == 1. + 2007-04-18 Michael Goffioul * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. diff -r d933e1615bb1 -r af5025cb0f2b scripts/ChangeLog --- 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 + + * plot/Makefile.in (SOURCES): Fix typo in adding __bar__.m to the list. + 2007-04-19 John W. Eaton * miscellaneous/unpack.m: Use gzip -d and bzip2 -d instead of diff -r d933e1615bb1 -r af5025cb0f2b scripts/plot/Makefile.in --- 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 \