Closed mtfishman closed 4 hours ago
I see, the issue stems from:
julia> Block()[]
Block()
julia> Block()[CartesianIndex()]
Block()
which is defined here: https://github.com/JuliaArrays/BlockArrays.jl/blob/v1.1.1/src/blockindices.jl#L205 and here: https://github.com/JuliaArrays/BlockArrays.jl/blob/v1.1.1/src/blockindices.jl#L59. I assume that should output BlockIndex()
(which isn't defined yet, but could be defined as BlockIndex{0,Tuple{},Tuple{}}((), ())
).
For example: