grid: Adjust threshold for collocate unittest

This commit is contained in:
Ole Schütt 2020-06-25 20:46:57 +02:00 committed by Ole Schütt
parent c8191ae29f
commit dcc0291ad5

View file

@ -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 {