From b47fdedbac8efacde1ab2ef76f30bf195a8ae50c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Gauth=C3=A9?= Date: Tue, 18 Jun 2024 18:32:43 -0400 Subject: [PATCH] fix Vararg --- NDTensors/src/lib/Sectors/src/category_product.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NDTensors/src/lib/Sectors/src/category_product.jl b/NDTensors/src/lib/Sectors/src/category_product.jl index 480661937a..c80c454547 100644 --- a/NDTensors/src/lib/Sectors/src/category_product.jl +++ b/NDTensors/src/lib/Sectors/src/category_product.jl @@ -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)