Skip to content

Commit

Permalink
check_ndims: delete unused method static parameter (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
nsajko authored Feb 5, 2025
1 parent 2309eb7 commit b8c23e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FixedSizeArray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b8c23e8

Please sign in to comment.