From d5630db882096bf1ed3f6c7d3ed91a2e6dba78c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Gauth=C3=A9?= Date: Thu, 3 Oct 2024 17:50:58 -0400 Subject: [PATCH] add comment --- NDTensors/src/lib/Sectors/src/category_product.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NDTensors/src/lib/Sectors/src/category_product.jl b/NDTensors/src/lib/Sectors/src/category_product.jl index 3b1506c60d..b231fd439a 100644 --- a/NDTensors/src/lib/Sectors/src/category_product.jl +++ b/NDTensors/src/lib/Sectors/src/category_product.jl @@ -109,6 +109,8 @@ function recover_category_product_type(::AbelianStyle, T::Type, fused) end function recover_category_product_type(::NotAbelianStyle, T::Type, fused) + # here fused contains at least one graded unit range. + # convert eg. Tuple{GradedUnitRange{SU2}, GradedUnitRange{SU2}} into GradedUnitRange{SU2×SU2} g = reduce(×, fused) # convention: keep unsorted blocklabels as produced by F order loops in × type_fixed = recover_category_product_type(T, g)