From c1eec5e05b8f6e38843eed9fc4ae3a80cd6ecf8d Mon Sep 17 00:00:00 2001 From: Lukas Devos Date: Sun, 1 Mar 2026 20:32:55 -0500 Subject: [PATCH] put tolerance on positivity test --- test/states/infinitemps.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(ψ)