From b2f4d447582483bc1f0d3c5bf4eb5898efa4be68 Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Tue, 29 Mar 2022 17:14:01 +0200 Subject: [PATCH] raise tolerance on windows --- test/runtests.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtests.jl b/test/runtests.jl index 71de7769..0c609042 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -363,7 +363,7 @@ Random.seed!(PLOTS_SEED) default(show = false, reuse = true) # don't actually show the plots is_ci() = get(ENV, "CI", "false") == "true" -const PLOTS_IMG_TOL = parse(Float64, get(ENV, "PLOTS_IMG_TOL", is_ci() ? "1e-4" : "1e-5")) +const PLOTS_IMG_TOL = parse(Float64, get(ENV, "PLOTS_IMG_TOL", is_ci() ? Sys.iswindows() ? "2e-4" : "1e-4" : "1e-5")) ## Uncomment the following lines to update reference images for different backends