I've been getting incorrect results when using scalar indexing that doesn't start with one on views.
julia> A = zeros(3, 4, 5);
julia> A[:] = 1:60;
julia> Aview = view(A, :, 2, :);
julia> ArrayInterface.StrideIndex(Aview)[1,1]
1
julia> Aview[1,1]
4.0
julia> Aview = view(A, 2, :, :);
julia> ArrayInterface.StrideIndex(Aview)[1,1]
1
julia> Aview[1,1]
2.0
Should we be combining those scalar indices with strides?
I've been getting incorrect results when using scalar indexing that doesn't start with one on views.
Should we be combining those scalar indices with strides?