Replace defines with constexpr in ishift
[alexxy/gromacs.git] / src / gromacs / nbnxm / benchmark / bench_system.cpp
index 3076939ce5c80a576f4f8d10d8ab3e2ddd18dcc2..1ba1c01d90e1c8ca2075b80fbc3f9f1fb026189d 100644 (file)
@@ -200,7 +200,7 @@ BenchmarkSystem::BenchmarkSystem(const int multiplicationFactor, const std::stri
 
     forceRec.ntype = numAtomTypes;
     forceRec.nbfp  = nonbondedParameters;
-    forceRec.shift_vec.resize(SHIFTS);
+    forceRec.shift_vec.resize(gmx::c_numShiftVectors);
     calc_shifts(box, forceRec.shift_vec);
     if (!outputFile.empty())
     {