raise tolerance on windows

This commit is contained in:
Simon Christ 2022-03-29 17:14:01 +02:00
parent 4298be63e3
commit b2f4d44758

View File

@ -363,7 +363,7 @@ Random.seed!(PLOTS_SEED)
default(show = false, reuse = true) # don't actually show the plots default(show = false, reuse = true) # don't actually show the plots
is_ci() = get(ENV, "CI", "false") == "true" 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 ## Uncomment the following lines to update reference images for different backends