Skip to content

Commit 63954e8

Browse files
committed
forward trait for tests
1 parent 23a179a commit 63954e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ using LayoutPointers, ArrayInterface, ArrayInterfaceOffsetArrays, Aqua, Test
1212
struct SizedWrapper{M,N,T,AT<:AbstractMatrix{T}} <: AbstractMatrix{T}
1313
A::AT
1414
end
15+
ArrayInterface.is_forwarding_wrapper(::Type{<:SizedWrapper}) = true
1516
SizedWrapper{M,N}(A::AT) where {M,N,T,AT<:AbstractMatrix{T}} = SizedWrapper{M,N,T,AT}(A)
1617
Base.size(::SizedWrapper{M,N}) where {M,N} = (M, N)
1718
Base.getindex(A::SizedWrapper, i...) = getindex(parent(A), i...)

0 commit comments

Comments
 (0)