Skip to content

Commit d5630db

Browse files
committed
add comment
1 parent 10ff55c commit d5630db

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

NDTensors/src/lib/Sectors/src/category_product.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ function recover_category_product_type(::AbelianStyle, T::Type, fused)
109109
end
110110

111111
function recover_category_product_type(::NotAbelianStyle, T::Type, fused)
112+
# here fused contains at least one graded unit range.
113+
# convert eg. Tuple{GradedUnitRange{SU2}, GradedUnitRange{SU2}} into GradedUnitRange{SU2×SU2}
112114
g = reduce(×, fused)
113115
# convention: keep unsorted blocklabels as produced by F order loops in ×
114116
type_fixed = recover_category_product_type(T, g)

0 commit comments

Comments
 (0)