Skip to content

Commit

Permalink
loosen equality tolerance in um_expressions_suite, dot_permute fails …
Browse files Browse the repository at this point in the history
…occasionally ... resolves #423
  • Loading branch information
evaleev committed Sep 27, 2023
1 parent 4fbb104 commit 49f4801
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/expressions_cuda_um.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2489,6 +2489,9 @@ BOOST_AUTO_TEST_CASE(dot) {
}

BOOST_AUTO_TEST_CASE(dot_permute) {
// loosen the default tolerance
constexpr auto tolerance = 5e-13;

Permutation perm({2, 1, 0});
// Test the dot expression function
double result = 0;
Expand Down

0 comments on commit 49f4801

Please sign in to comment.