Remove charge groups from domdec and localtop
[alexxy/gromacs.git] / src / gromacs / mdlib / sim_util.cpp
index 3a827652d996af9d2b8d45fd207a8ecbbebba5c2..14b2cd4c8c4a91c988b3bb99ded092a7a8dc293e 100644 (file)
@@ -980,7 +980,7 @@ void do_force(FILE                                     *fplog,
             wallcycle_sub_stop(wcycle, ewcsNBS_GRID_NONLOCAL);
         }
 
-        nbv->setAtomProperties(*mdatoms, *fr->cginfo);
+        nbv->setAtomProperties(*mdatoms, fr->cginfo);
 
         wallcycle_stop(wcycle, ewcNS);