Make temperature and pressure coupling enums enum classes
[alexxy/gromacs.git] / src / gromacs / mdrun / runner.cpp
index d42675f9fa3edb4352056be769ab89f78b6396d7..cb76c778a31747e22a9dc1ff1e043fdb3ebeea48 100644 (file)
@@ -431,7 +431,8 @@ static void prepare_verlet_scheme(FILE*               fplog,
                            "With Verlet lists and no PME rcoulomb and rvdw should be identical");
     }
     /* For NVE simulations, we will retain the initial list buffer */
-    if (EI_DYNAMICS(ir->eI) && ir->verletbuf_tol > 0 && !(EI_MD(ir->eI) && ir->etc == etcNO))
+    if (EI_DYNAMICS(ir->eI) && ir->verletbuf_tol > 0
+        && !(EI_MD(ir->eI) && ir->etc == TemperatureCoupling::No))
     {
         /* Update the Verlet buffer size for the current run setup */