Skip to content

Commit a1cc53c

Browse files
committed
round dim of space that's supposed to be integer
1 parent 0be6bad commit a1cc53c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/test_A4.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,10 @@ println("---------------------------------")
263263
Vect[I](c => 1 for c in sectors(V) if rightone(c) == ur == leftone(c) || (c.i == i && c.j == j))
264264
@test @constinferred((Wleft, WMop)) ==
265265
Vect[I](c => 1 for c in sectors(V) if rightone(c) == ul == leftone(c) || (c.i == j && c.j == i))
266-
@test @constinferred(fuse(Wleft, WM)) == Vect[I](c => dim(Wleft) for c in sectors(WM)) # this might be wrong
267-
@test @constinferred(fuse(Wright, WMop)) == Vect[I](c => dim(Wright) for c in sectors(WMop)) # same
266+
# round needed below because of numerical F-symbols not being integer when they should be
267+
# although this test might be stupid, because I'm assuming integer qdims bc everything's a group or irrep on the diagonal
268+
@test @constinferred(fuse(Wleft, WM)) == Vect[I](c => round(Int, dim(Wleft)) for c in sectors(WM)) # this might be wrong
269+
@test @constinferred(fuse(Wright, WMop)) == Vect[I](c => round(Int, dim(Wright)) for c in sectors(WMop)) # same
268270

269271
# less sensible fuse
270272
@test @constinferred(fuse(Wleft, WMop)) == fuse(Wright, WM) ==

0 commit comments

Comments
 (0)