Commit d65c712
authored
Define
Define `Base.axes1(S::Base.Slice{<:BlockedOneTo}) = S.indices`, analogous to the definition of [`Base.axes(S::Base.Slice{<:BlockedOneTo})`](https://github.com/JuliaArrays/BlockArrays.jl/blob/90ddfa96fb0ade3da4f67ac285fcb340350c19c6/src/blockaxis.jl#L680) and [`Base.axes1(S::Slice{<:OneTo})`](https://github.com/JuliaLang/julia/blob/cd446800a189704062bbd58970f1cff4fbc52fc1/base/indices.jl#L391).
Closes #484.Base.axes1(S::Base.Slice{<:BlockedOneTo})
1 parent 90ddfa9 commit d65c712
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
678 | 678 | | |
679 | 679 | | |
680 | 680 | | |
| 681 | + | |
681 | 682 | | |
682 | 683 | | |
683 | 684 | | |
| |||
0 commit comments