Closed sethaxen closed 9 months ago
This is easy to fix for DimArray
because it uses Slices
, but hits problems with DimStack
because we cant index DimIndices
with []
.
So this leads to a larger question: should indexing with []
be the same as [:, :, ...]
for all AbstractDimArray
? It would be consistent with how colons are filled in for missing dimensions, but maybe a bit weird for people that unlike base arrays da[]
is not an error, but returns a new copy of da
- especially when zero dimensional dim arrays will return the value.
@sethaxen I recall you also mentioned this indexing problem in the past. Any thoughts?
on v1.9.0-rc2: