Skip to content

Commit

Permalink
fix Vararg
Browse files Browse the repository at this point in the history
  • Loading branch information
ogauthe committed Jun 18, 2024
1 parent fb59499 commit b47fded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NDTensors/src/lib/Sectors/src/category_product.jl
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ categories_isless(::Tuple, ::NamedTuple) = throw(ArgumentError("Not implemented"

categories_type(::Type{<:CategoryProduct{T}}) where {T} = T

recover_key(T::Type, t::Tuple{Vararg{<:AbstractCategory}}) = sector(T, t)
recover_key(T::Type, t::Tuple{Vararg{AbstractCategory}}) = sector(T, t)
recover_key(T::Type, c::AbstractCategory) = recover_key(T, (c,))
recover_key(T::Type, c::CategoryProduct) = recover_key(T, categories(c))
function recover_key(T::Type, fused::Tuple)
Expand Down

0 comments on commit b47fded

Please sign in to comment.