Mercurial > octave
diff libinterp/corefcn/data.cc @ 31566:67bb53a137e1
maint: merge stable to default
author | Rik <rik@octave.org> |
---|---|
date | Sun, 27 Nov 2022 17:03:48 -0800 |
parents | 212cc32100f5 332a6ccac881 |
children | 9ecc95d840ca |
line wrap: on
line diff
--- a/libinterp/corefcn/data.cc Sun Nov 27 17:00:20 2022 -0500 +++ b/libinterp/corefcn/data.cc Sun Nov 27 17:03:48 2022 -0800 @@ -2880,8 +2880,8 @@ %! [a, b] = size ([1, 2; 3, 4; 5, 6], [i, j]); %! assert (a, dim(i)); %! assert (b, dim(j)); -%! end -%! end +%! endfor +%! endfor ## Call for three arbitrary dimensions @@ -2900,9 +2900,9 @@ %! assert (a, dim(i)); %! assert (b, dim(j)); %! assert (c, dim(k)); -%! end -%! end -%! end +%! endfor +%! endfor +%! endfor %!error <does not match number of requested dimensions> %! [a, b, c] = size ([1, 2; 3, 4; 5, 6], 1:4)