Skip to content

Commit

Permalink
TN3D: loosen test tol for PBC
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmgray committed Apr 10, 2024
1 parent c2d6e3e commit f85203d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_tensor/test_tensor_3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,8 @@ def test_contract_cyclic(self, cyclicx, cyclicy, cyclicz, mode):
elif mode == "ctmrg":
lZ = tn.contract_ctmrg(max_bond=chi, cutoff=0.0)

assert lZ.history_max_size() < 2**13

if any((cyclicx, cyclicy, cyclicz)):
assert lZ.history_max_size() < 2**15
else:
assert lZ.history_max_size() < 2**13

0 comments on commit f85203d

Please sign in to comment.