Mercurial > hg > octave-avbm
changeset 7607:d6d1ee7717d0
micro patch of indexing bug
author | David Bateman <dbateman@free.fr> |
---|---|
date | Wed, 19 Mar 2008 15:29:42 -0400 |
parents | 704b7a1098d0 |
children | 49810341db91 |
files | test/test_index-wfi-f.m |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/test/test_index-wfi-f.m +++ b/test/test_index-wfi-f.m @@ -405,6 +405,7 @@ %! a11 = zeros (1, 0); %! a12 = zeros (1, 0, 2); %! a13 = zeros (1, 1, 0); +%! clear a14; a14(1:10,1) = 1:10; %! b1 = [1; 3; 2; 4; 5; 7; 6; 8]; %! b2 = [1, 2, 5, 6; 3, 4, 7, 8]; %! b3 = [1; 3]; @@ -434,6 +435,7 @@ %! assert(a(1,[]), a11); %! assert(a(1,[],[1,1]), a12); %! assert(a(1,1,[]), a13); +%! assert(a14, (1:10)'); %! assert(b(:), b1); %! assert(b(:,:), b2); %! assert(b(:,1), b3);