From 9e90ab8967e6bbcc88175dc73e6e993bbcddde2f Mon Sep 17 00:00:00 2001 From: rezgarshakeri Date: Sat, 10 Feb 2024 08:58:53 -0700 Subject: [PATCH] increased tolerance in ex1-volume/src/main.rs --- examples/rust/ex1-volume/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/rust/ex1-volume/src/main.rs b/examples/rust/ex1-volume/src/main.rs index ca7554384a..ed22b9fb86 100644 --- a/examples/rust/ex1-volume/src/main.rs +++ b/examples/rust/ex1-volume/src/main.rs @@ -247,7 +247,7 @@ fn example_1(options: opt::Opt) -> libceed::Result<()> { ); } let tolerance = match dim { - 1 => 100.0 * libceed::EPSILON, + 1 => 500.0 * libceed::EPSILON, _ => 1E-5, }; let error = (volume - exact_volume).abs();