Cleaning up the GPU bonded kernel
[alexxy/gromacs.git] / src / gromacs / listed_forces / gpubonded_impl.cpp
index dc816facc3865503a46039ad13989691aebe5a44..b7b20fdd52530ffbc75c28826d51aa59f4766adf 100644 (file)
@@ -58,9 +58,9 @@ namespace gmx
 //! Returns whether there are any interactions in ilists suitable for a GPU.
 static bool someInteractionsCanRunOnGpu(const InteractionLists &ilists)
 {
-    for (int ftype : ftypesOnGpu)
+    for (int fType : fTypesOnGpu)
     {
-        if (!ilists[ftype].iatoms.empty())
+        if (!ilists[fType].iatoms.empty())
         {
             // Perturbation is not implemented in the GPU bonded
             // kernels. If all the interactions were actually