Skip to content

Commit 692e08a

Browse files
committed
fusion_rule(::AbelianStyle to call fusion_rule(::NotAbelianStyle
1 parent d4794ed commit 692e08a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

NDTensors/src/lib/Sectors/src/abstractsector.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ end
6060

6161
# abelian case: return Sector
6262
function fusion_rule(::AbelianStyle, c1::C, c2::C) where {C<:AbstractSector}
63-
_, sectors = label_fusion_rule(C, sector_label(c1), sector_label(c2))
64-
return only(sectors)
63+
return label(only(fusion_rule(NotAbelianStyle(), c1, c2)))
6564
end
6665

6766
function label_fusion_rule(sector_type::Type{<:AbstractSector}, ::Any, ::Any)

0 commit comments

Comments
 (0)