Skip to content

Commit

Permalink
increased tolerance in ex1-volume/src/main.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
rezgarshakeri committed Feb 10, 2024
1 parent 1313446 commit 9e90ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/rust/ex1-volume/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 9e90ab8

Please sign in to comment.