1D extraction of matrix with implicit index has wrong dimensions
@mottelet)
Reported by Stéphane MOTTELET (BUG DESCRIPTION:
----------------
1D extraction of matrix with implicit index has wrong dimensions
ERROR LOG:
----------
-->a=[1 2 3;4 5 6]
a =
1. 2. 3.
4. 5. 6.
-->a([1 2])
ans =
1. 4.
-->a(1:2)
ans =
1.
4.
a(1:2) should be a line as
-->1:2
ans =
1. 2.
HOW TO REPRODUCE THE BUG:
-------------------------
OTHER INFORMATION:
------------------