Replace defines with constexpr in ishift
[alexxy/gromacs.git] / src / gromacs / nbnxm / kernels_reference / kernel_ref_outer.h
index 1203b8e4ba39ba0c8cc4bc8ab7d31e57f36b4d60..a74d579ec54004aaaf0fd99ee2c0262874871117 100644 (file)
@@ -191,7 +191,7 @@ void
         const int cjind1 = ciEntry.cj_ind_end;
         /* Currently only works super-cells equal to sub-cells */
         const int ci    = ciEntry.ci;
-        const int ci_sh = (ish == CENTRAL ? ci : -1);
+        const int ci_sh = (ish == gmx::c_centralShiftIndex ? ci : -1);
 
         /* We have 5 LJ/C combinations, but use only three inner loops,
          * as the other combinations are unlikely and/or not much faster: