From 1202071a76457530c262786e84254944fb167076 Mon Sep 17 00:00:00 2001 From: lkdvos Date: Wed, 15 May 2024 17:28:33 +0200 Subject: [PATCH] Remove seed and lower tolerance on elementwise convergence --- test/ctmrg/gaugefix.jl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/ctmrg/gaugefix.jl b/test/ctmrg/gaugefix.jl index adb930d7..e646f1f5 100644 --- a/test/ctmrg/gaugefix.jl +++ b/test/ctmrg/gaugefix.jl @@ -19,7 +19,6 @@ end @testset "Trivial symmetry ($T) - ($unitcell)" for (T, unitcell) in Iterators.product(scalartypes, unitcells) - Random.seed!(1234567) physical_space = ComplexSpace(2) peps_space = ComplexSpace(2) ctm_space = ComplexSpace(χ) @@ -37,12 +36,11 @@ end ctm = leading_boundary(psi, alg, ctm) ctm2, = ctmrg_iter(psi, ctm, alg_fixed) ctm_fixed = gauge_fix(ctm, ctm2) - @test PEPSKit.check_elementwise_convergence(ctm, ctm_fixed) + @test PEPSKit.check_elementwise_convergence(ctm, ctm_fixed; atol=1e-4) end @testset "Z2 symmetry ($T) - ($unitcell)" for (T, unitcell) in Iterators.product(scalartypes, unitcells) - Random.seed!(1234567) physical_space = Z2Space(0 => 1, 1 => 1) peps_space = Z2Space(0 => 1, 1 => 1) ctm_space = Z2Space(0 => χ ÷ 2, 1 => χ ÷ 2) @@ -60,5 +58,5 @@ end ctm = leading_boundary(psi, alg, ctm) ctm2, = ctmrg_iter(psi, ctm, alg_fixed) ctm_fixed = gauge_fix(ctm, ctm2) - @test PEPSKit.check_elementwise_convergence(ctm, ctm_fixed) + @test PEPSKit.check_elementwise_convergence(ctm, ctm_fixed; atol=1e-4) end