From b5b4d23c0c517d8b7b51fd9eb6171a2b478e8c08 Mon Sep 17 00:00:00 2001 From: Martin Bauernfeind Date: Thu, 23 Jun 2022 19:46:29 +0200 Subject: [PATCH] :bug: further refactoring fixing --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 8bf65be..35537df 100644 --- a/src/main.c +++ b/src/main.c @@ -294,7 +294,7 @@ int main(int argc, char** argv) #if defined(MEM_TRACER) || defined(INDEX_TRACER) || defined(COMPUTE_STATS) computeForceTracing(¶m, &atom, &neighbor, &stats, 1, 0); #else - computeForce(true, ¶m, &atom, &neighbor); + computeForce(true, ¶m, &atom, &neighbor, &c_atom, &c_neighbor); #endif } @@ -324,7 +324,7 @@ int main(int argc, char** argv) #if defined(MEM_TRACER) || defined(INDEX_TRACER) || defined(COMPUTE_STATS) timer[FORCE] += computeForceTracing(¶m, &atom, &neighbor, &stats, 0, n + 1); #else - timer[FORCE] += computeForce(doReneighbour, ¶m, &atom, &neighbor); + timer[FORCE] += computeForce(doReneighbour, ¶m, &atom, &neighbor, &c_atom, &c_neighbor); #endif }