From 592a91a7e9d6cf56a98d16ee7b52a397fed004b6 Mon Sep 17 00:00:00 2001 From: patrickersing Date: Thu, 25 Apr 2024 13:26:10 +0200 Subject: [PATCH] soften tolerances for macOS --- test/test_structured_2d.jl | 3 ++- test/test_tree_1d.jl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/test_structured_2d.jl b/test/test_structured_2d.jl index fac1fe6..abb0d92 100644 --- a/test/test_structured_2d.jl +++ b/test/test_structured_2d.jl @@ -83,7 +83,8 @@ isdir(outdir) && rm(outdir, recursive = true) 4.4849667259339357e-14, 1.9999999999999993, ], - tspan=(0.0, 0.25)) + tspan=(0.0, 0.25), + atol = 1e-12) # Ensure that we do not have excessive memory allocations # (e.g., from type instabilities) let diff --git a/test/test_tree_1d.jl b/test/test_tree_1d.jl index 2d19361..45838a6 100644 --- a/test/test_tree_1d.jl +++ b/test/test_tree_1d.jl @@ -145,7 +145,7 @@ isdir(outdir) && rm(outdir, recursive = true) ], tspan=(0.0, 0.25), # Soften the tolerance as test results vary between different CPUs - atol=1000 * eps()) + atol=2000 * eps()) # Ensure that we do not have excessive memory allocations # (e.g., from type instabilities) let