julia
701885be - fix #37199, indexing for 1-d views with offset ranges (#37204)

Commit
5 years ago
fix #37199, indexing for 1-d views with offset ranges (#37204) We had been assuming that IdentityUnitRange matched the indices of the parent (like Slices) but they define their own offset axes. Further, other `AbstractRanges` may be similarly offset. We do not need to consider other offset `AbstractArrays` as this code only applies to `IndexLinear` `SubArray`s.
Author
Parents
Loading