Move nr_nonperturbed out of t_ilist
[alexxy/gromacs.git] / src / gromacs / listed_forces / gpubonded_impl.cu
index 041ee514b77ffa37252ad0d82769b665c9409b24..ba983faeb1fe8f207ab84a9406a4de3562aa490c 100644 (file)
@@ -120,7 +120,7 @@ static bool fTypeHasPerturbedEntries(const t_idef& idef, int fType)
 
     const t_ilist& ilist = idef.il[fType];
 
-    return (idef.ilsort != ilsortNO_FE && ilist.nr_nonperturbed != ilist.nr);
+    return (idef.ilsort != ilsortNO_FE && idef.numNonperturbedInteractions[fType] != ilist.nr);
 }
 
 //! Converts \p src with atom indices in state order to \p dest in nbnxn order