From b88cc77e267a101e615f5ecc6f8e7250678abef4 Mon Sep 17 00:00:00 2001 From: mtfishman Date: Thu, 15 Feb 2024 10:29:45 -0500 Subject: [PATCH] Format --- test/test_dmrg_x.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_dmrg_x.jl b/test/test_dmrg_x.jl index e58b3a9..8bd2cc2 100644 --- a/test/test_dmrg_x.jl +++ b/test/test_dmrg_x.jl @@ -49,7 +49,8 @@ using Test scale(::Type{Float32}) = 10^2 scale(::Type{Float64}) = 10^5 - @test inner(H, ϕ̃, H, ϕ̃) ≈ inner(ϕ̃', H, ϕ̃)^2 rtol = √(eps(real(elt))) * scale(real(elt)) + @test inner(H, ϕ̃, H, ϕ̃) ≈ inner(ϕ̃', H, ϕ̃)^2 rtol = + √(eps(real(elt))) * scale(real(elt)) # Sometimes broken, sometimes not # @test abs(loginner(ϕ̃, ϕ) / n) ≈ 0.0 atol = 1e-6 end