We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23a179a commit 63954e8Copy full SHA for 63954e8
test/runtests.jl
@@ -12,6 +12,7 @@ using LayoutPointers, ArrayInterface, ArrayInterfaceOffsetArrays, Aqua, Test
12
struct SizedWrapper{M,N,T,AT<:AbstractMatrix{T}} <: AbstractMatrix{T}
13
A::AT
14
end
15
+ ArrayInterface.is_forwarding_wrapper(::Type{<:SizedWrapper}) = true
16
SizedWrapper{M,N}(A::AT) where {M,N,T,AT<:AbstractMatrix{T}} = SizedWrapper{M,N,T,AT}(A)
17
Base.size(::SizedWrapper{M,N}) where {M,N} = (M, N)
18
Base.getindex(A::SizedWrapper, i...) = getindex(parent(A), i...)
0 commit comments