BlockArrays.jl icon indicating copy to clipboard operation
BlockArrays.jl copied to clipboard

Make view(a, Block(1)) return a when a has OneTo axes

Open dlfivefifty opened this issue 3 years ago • 0 comments

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.

dlfivefifty avatar Feb 02 '21 10:02 dlfivefifty