BlockArrays.jl
BlockArrays.jl copied to clipboard
Make view(a, Block(1)) return a when a has OneTo axes
It would be helpful if non-blocked arrays behaved as follows:
view(1:5, Block(1)) === 1:5
This is consistent with the new behaviour for block views of block arrays.