Skip to content

Commit

Permalink
Fix distribution_test?
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Hahn <[email protected]>
  • Loading branch information
quantumsteve committed Feb 22, 2024
1 parent 305526a commit 762e8d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/distribution_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ TEMPLATE_TEST_CASE("allreduce element across row", "[distribution]",
auto const &x = rank_outputs[std::min(my_rank, static_cast<int>(plan.size()) - 1)];
TestType fx = 0.;
reduce_results(x, fx, plan, my_rank);
REQUIRE_THAT(fx, Catch::Matchers::WithinAbs(gold, std::numeric_limits<TestType>::epsilon()));
REQUIRE_THAT(fx, Catch::Matchers::WithinAbs(gold, 10. * std::numeric_limits<TestType>::epsilon()));
}
#else
REQUIRE(true);
Expand Down

0 comments on commit 762e8d5

Please sign in to comment.