Use enum class for gmx_omp_nthreads
[alexxy/gromacs.git] / src / gromacs / nbnxm / grid.cpp
index 97d7b797a4797070f739c1bd551045c9779a04a6..56584071e7c69816a57ebaadcf660b1cb123d0b3 100644 (file)
@@ -1378,7 +1378,7 @@ void Grid::setCellIndices(int                            ddZone,
     srcAtomBegin_ = *atomRange.begin();
     srcAtomEnd_   = *atomRange.end();
 
-    const int nthread = gmx_omp_nthreads_get(emntPairsearch);
+    const int nthread = gmx_omp_nthreads_get(ModuleMultiThread::Pairsearch);
 
     const int numAtomsPerCell = geometry_.numAtomsPerCell;