Use enum class for gmx_omp_nthreads
[alexxy/gromacs.git] / src / gromacs / modularsimulator / statepropagatordata.cpp
index 6c1d1a6ad92f41218407d62251b5b25f0ebcfd4d..4dd6a899f27f8bd358a543a8e2a4ecec5f22eaea 100644 (file)
@@ -309,7 +309,7 @@ ForceBuffers* StatePropagatorData::forcePointer()
 
 void StatePropagatorData::copyPosition()
 {
-    int nth = gmx_omp_nthreads_get(emntUpdate);
+    int nth = gmx_omp_nthreads_get(ModuleMultiThread::Update);
 
 #pragma omp parallel for num_threads(nth) schedule(static) default(none) shared(nth)
     for (int th = 0; th < nth; th++)