From 9f5cd19cde50a78e698a3fcf323dcf4418b2cfc7 Mon Sep 17 00:00:00 2001 From: Milan Date: Thu, 28 Jan 2021 21:26:52 +0000 Subject: [PATCH] increase tolerance for test --- test/randfloat.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/randfloat.jl b/test/randfloat.jl index 53127e7..f2b42f7 100644 --- a/test/randfloat.jl +++ b/test/randfloat.jl @@ -62,7 +62,7 @@ end # test that the most frequent exponents occur at 50%, 25%, 12.5% etc. for i in 1:10 - @test isapprox(H[i]/N,2.0^-i,atol=1e-4) + @test isapprox(H[i]/N,2.0^-i,atol=5e-4) end # FLOAT32 @@ -82,6 +82,6 @@ end # test that the most frequent exponents occur at 50%, 25%, 12.5% etc. for i in 1:10 - @test isapprox(H[i]/N,2.0^-i,atol=1e-4) + @test isapprox(H[i]/N,2.0^-i,atol=5e-4) end end \ No newline at end of file