Skip to content

Commit

Permalink
Increase error tolerance in Test_ApplyBoundaryConditions
Browse files Browse the repository at this point in the history
This has failed several times on CI for me recently.
  • Loading branch information
kidder committed Nov 11, 2024
1 parent 0b944a1 commit db61e45
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -965,12 +965,14 @@ void test_impl(const Spectral::Quadrature quadrature,
mortar_id_ptr = &mortar_id;
compute_correction_coupling(mortar_data.local(), mortar_data.neighbor());
}
Approx custom_approx = Approx::custom().epsilon(5.e-11);
tmpl::for_each<dt_variables_tags>(
[&expected_dt_variables_volume, &runner, &self_id](auto tag_v) {
[&custom_approx, &expected_dt_variables_volume, &runner,
&self_id](auto tag_v) {
using tag = tmpl::type_from<decltype(tag_v)>;
CHECK_ITERABLE_APPROX(
CHECK_ITERABLE_CUSTOM_APPROX(
get<tag>(get_tag<dt_variables_tag>(runner, self_id)),
get<tag>(expected_dt_variables_volume));
get<tag>(expected_dt_variables_volume), custom_approx);
});
CHECK(expected_evolved_variables ==
get_tag<variables_tag>(runner, self_id));
Expand Down

0 comments on commit db61e45

Please sign in to comment.