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 }