Remove charge group code from forcerec
[alexxy/gromacs.git] / src / gromacs / domdec / partition.cpp
index e6642598b79b735b830a6c2fd1cb48aabe2b6d3c..2f938be8208e6ebad49312b96cee19034c75636f 100644 (file)
@@ -3199,7 +3199,7 @@ void dd_partition_system(FILE                        *fplog,
      * allocation, zeroing and copying, but this is probably not worth
      * the complications and checking.
      */
-    forcerec_set_ranges(fr, dd->ncg_home, dd->globalAtomGroupIndices.size(),
+    forcerec_set_ranges(fr,
                         comm->atomRanges.end(DDAtomRanges::Type::Zones),
                         comm->atomRanges.end(DDAtomRanges::Type::Constraints),
                         nat_f_novirsum);