Refactor md_enums
[alexxy/gromacs.git] / src / gromacs / domdec / mdsetup.cpp
index ce4458a49cbd5ff43ce72bdc87908c8b7de35329..6c76374521295cd75026894b3a1ed93f55a02163 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2016,2017,2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2016,2017,2018,2019,2020,2021, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -112,7 +112,7 @@ void mdAlgorithmsSetupAtomData(const t_commrec*     cr,
     }
     else
     {
-        gmx_mtop_generate_local_top(top_global, top, ir->efep != efepNO);
+        gmx_mtop_generate_local_top(top_global, top, ir->efep != FreeEnergyPerturbationType::No);
     }
 
     if (vsite)