diff --git a/src/FixedSizeArray.jl b/src/FixedSizeArray.jl index 08ff211..327d72a 100644 --- a/src/FixedSizeArray.jl +++ b/src/FixedSizeArray.jl @@ -42,7 +42,7 @@ for T ∈ (Vector, optional_memory...) end end -function check_ndims(::Type{FSA}, size::Tuple{Vararg{Integer}}) where {N, FSA <: (FixedSizeArray{E, N} where {E})} +function check_ndims(::Type{<:(FixedSizeArray{E, N} where {E})}, size::Tuple{Vararg{Integer}}) where {N} if size isa Tuple{Vararg{Any, N}} size else