From dcc0291ad508facb6853b1dc945c164eb2d12b25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Sch=C3=BCtt?= Date: Thu, 25 Jun 2020 20:46:57 +0200 Subject: [PATCH] grid: Adjust threshold for collocate unittest --- src/grid/grid_collocate_unittest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grid/grid_collocate_unittest.c b/src/grid/grid_collocate_unittest.c index 2869593f64..04efe79a29 100644 --- a/src/grid/grid_collocate_unittest.c +++ b/src/grid/grid_collocate_unittest.c @@ -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 {