From 6e49d4bee559ab42e7450fed22e57a0c36397dfa Mon Sep 17 00:00:00 2001
From: James Willis <james.s.willis@durham.ac.uk>
Date: Mon, 5 Dec 2016 14:03:17 +0000
Subject: [PATCH] Check particles for accuracy.

---
 tests/test27cells.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test27cells.c b/tests/test27cells.c
index d99207136f..f280cf597a 100644
--- a/tests/test27cells.c
+++ b/tests/test27cells.c
@@ -522,8 +522,8 @@ int main(int argc, char *argv[]) {
   dump_particle_fields(outputFileName, main_cell, cells);
 
   /* Check serial results against the vectorised results. */
-  //if (check_results(main_cell->parts, vec_parts, main_cell->count, threshold))
-  //  message("Differences found...");
+  if (check_results(main_cell->parts, vec_parts, main_cell->count, threshold))
+    message("Differences found...");
   
   /* Output timing */
   message("Brute force calculation took : %15lli ticks.", toc - tic);
-- 
GitLab