mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-29 06:35:28 -04:00
grid: Adjust threshold for collocate unittest
This commit is contained in:
parent
c8191ae29f
commit
dcc0291ad5
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue