Skip to content

Commit 153ef5c

Browse files
authored
Use layout_getindex for adjoint-vectors with range access
1 parent 854156a commit 153ef5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ArrayLayouts.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ getindex(A::LayoutVector, kr::AbstractVector) = layout_getindex(A, kr)
204204
getindex(A::LayoutVector, kr::Colon) = layout_getindex(A, kr)
205205
getindex(A::AdjOrTrans{<:Any,<:LayoutVector}, kr::Integer, jr::Colon) = layout_getindex(A, kr, jr)
206206
getindex(A::AdjOrTrans{<:Any,<:LayoutVector}, kr::Integer, jr::AbstractVector) = layout_getindex(A, kr, jr)
207+
getindex(A::AdjOrTrans{<:Any,<:LayoutVector}, kr::AbstractVector, jr::AbstractVector) = layout_getindex(A, kr, jr)
207208

208209
*(a::Zeros{<:Any,2}, b::LayoutMatrix) = FillArrays.mult_zeros(a, b)
209210
*(a::LayoutMatrix, b::Zeros{<:Any,2}) = FillArrays.mult_zeros(a, b)

0 commit comments

Comments
 (0)