Skip to content

Commit

Permalink
grid: Adjust threshold for collocate unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed Jun 25, 2020
1 parent c8191ae commit dcc0291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/grid/grid_collocate_unittest.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ static int run_test(const char cp2k_root_dir[], const char task_file[]) {
assert(strcat(filename, task_file) != NULL);

const double max_diff = grid_collocate_replay(filename, 1);
if (max_diff > 1e-14) {
if (max_diff > 1e-12) {
printf("Max diff too high, test failed.\n");
return 1;
} else {
Expand Down

0 comments on commit dcc0291

Please sign in to comment.