diff --git a/test/states/infinitemps.jl b/test/states/infinitemps.jl index fb27a84d0..d701d8cb3 100644 --- a/test/states/infinitemps.jl +++ b/test/states/infinitemps.jl @@ -93,7 +93,7 @@ end Ss = entropy(ψ) @test length(Ss) == length(ψ) @test all(isreal, Ss) - @test all(>=(0), Ss) + @test all(>=(-1.0e-8), Ss) # entropy(ψ, site) is non-negative and consistent with entropy(ψ) for site in 1:length(ψ)