Skip to content

Commit

Permalink
Bump error tolerance for GCC openmp
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalobg committed Mar 10, 2024
1 parent ef1c135 commit 761a8a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ void check_solution(const size_t num_times,

// Error relative tolerance check
size_t failed = 0;
T epsi = std::numeric_limits<T>::epsilon() * T(1000.0);
T epsi = std::numeric_limits<T>::epsilon() * T(10000.0);
auto check = [&](const char* name, T is, T should, T e, size_t i = size_t(-1)) {
if (e > epsi) {
++failed;
Expand Down

0 comments on commit 761a8a7

Please sign in to comment.