Modernize atom enums
[alexxy/gromacs.git] / src / gromacs / taskassignment / decidegpuusage.cpp
index fdbf1b32bccdeb65b4bed880a23c19d2e74c73f1..a2dd4b5d211afca81adedc37f6f9286e7012a31a 100644 (file)
@@ -657,7 +657,7 @@ bool decideWhetherToUseGpuForUpdate(const bool                     isDomainDecom
         errorMessage += "Free energy perturbation for mass and constraints are not supported.\n";
     }
     const auto particleTypes = gmx_mtop_particletype_count(mtop);
-    if (particleTypes[eptShell] > 0)
+    if (particleTypes[ParticleType::Shell] > 0)
     {
         errorMessage += "Shells are not supported.\n";
     }