Skip to content

Commit 8199072

Browse files
committed
fix test error
1 parent e55230c commit 8199072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ end
157157
@test Fsymbol(M, Mop, C1, C0, C0, Mop) == 0
158158
@test Fsymbol(M, Mop, C1, C0, C1, Mop) == 1
159159

160-
@test Fsymbol(C, M, D, M, M, M) == 1 # 𝒞 x ℳ x 𝒟 → ℳ allowed
160+
@test Fsymbol(C, M, D, M, M, M) == (C.label * D.label == 0 ? 1 : -1) # 𝒞 x ℳ x 𝒟 → ℳ allowed
161161
@test_throws argerr Fsymbol(M, Mop, M, Mop, C, D) == 0 # IsingAnyon conversion would give non-zero
162162
@test_throws argerr Fsymbol(Mop, M, Mop, M, D, C) == 0
163163

0 commit comments

Comments
 (0)