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