Skip to content

Commit d3848f8

Browse files
Update error message for iPEPO
1 parent 0170af1 commit d3848f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/operators/infinitepepo.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ struct InfinitePEPO{T <: PEPOTensor}
1515
bosonic_braiding = BraidingStyle(sectortype(T)) === Bosonic()
1616
for (d, w, h) in Tuple.(CartesianIndices(A))
1717
(bosonic_braiding || (!isdual(domain_physicalspace(A[d, w, h])) && !isdual(codomain_physicalspace(A[d, w, h])))) ||
18-
throw(ArgumentError("Dual physical spaces are not allowed (for now)."))
18+
throw(ArgumentError("Dual physical spaces for symmetry sectors with non-trivial twists are not allowed (for now)."))
1919
codomain_physicalspace(A[d, w, h]) == domain_physicalspace(A[d, w, _next(h, end)]) ||
2020
throw(SpaceMismatch("Physical space at site $((d, w, h)) does not match."))
2121
north_virtualspace(A[d, w, h]) == south_virtualspace(A[_prev(d, end), w, h])' ||

0 commit comments

Comments
 (0)