Move finalising routine into mtop
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / grompp.cpp
index 960e3e196b4275a5bc7b3170b11bb47c135ec83b..7e74e01660098e7e4e5ac0415d77e3931470a9cd 100644 (file)
@@ -647,7 +647,7 @@ static void new_status(const char*                           topfile,
     /* Copy structures from msys to sys */
     molinfo2mtop(*mi, sys);
 
-    gmx_mtop_finalize(sys);
+    sys->finalize();
 
     /* Discourage using the, previously common, setup of applying constraints
      * to all bonds with force fields that have been parametrized with H-bond