Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ogauthe committed Oct 3, 2024
1 parent 10ff55c commit d5630db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NDTensors/src/lib/Sectors/src/category_product.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d5630db

Please sign in to comment.