bitset(0, 1:2) is not working
Reported by Timo Stripf
BUG DESCRIPTION:
----------------
bitset is not working if the first parameter is an scalar and the second not.
That does not follow the default behavior of component-wise operations.
e.g. bitget(3, 1:2) is also working.
ERROR LOG:
----------
HOW TO REPRODUCE THE BUG:
-------------------------
bitset(0, 1:10)
I would expect:
ans =
1 2 4 8 16 32 64 128 256 512
OTHER INFORMATION:
------------------