Skip to content

Commit e362094

Browse files
committed
use ismodulecategory in Nsymbol
1 parent 036ea10 commit e362094

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/multifusion.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function Nsymbol(a::IsingBimod, b::IsingBimod, c::IsingBimod)
107107
# if a and b can fuse, then so can dual(a) and c, and c and dual(b)
108108
# only needs to be explicitly checked when CatTypes differ or when there's a module category involved
109109
if a.type != b.type || a.type != c.type || b.type != c.type ||
110-
isModule(a) || isModule(b) || isModule(c)
110+
any(ismodulecategory, (a, b, c))
111111
c a b && dual(b) dual(c) a && dual(a) b dual(c) ||
112112
throw(ArgumentError("invalid fusion channel"))
113113
end

0 commit comments

Comments
 (0)