From cd81d2c8a6717d7c6eeedf28c2d3ae169007e122 Mon Sep 17 00:00:00 2001
From: Carlo Camilloni <carlo.camilloni@gmail.com>
Date: Sat, 13 Oct 2018 16:25:18 +0200
Subject: [PATCH] Update ActionWithValue.cpp

---
 src/core/ActionWithValue.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/ActionWithValue.cpp b/src/core/ActionWithValue.cpp
index 7a921ddbd..3106b8f69 100644
--- a/src/core/ActionWithValue.cpp
+++ b/src/core/ActionWithValue.cpp
@@ -70,7 +70,7 @@ void ActionWithValue::clearInputForces() {
 }
 
 void ActionWithValue::clearDerivatives() {
-  unsigned nt = OpenMP::getNumThreads(values);
+  unsigned nt = OpenMP::getNumThreads();
   #pragma omp parallel num_threads(nt)
   {
     #pragma omp for
-- 
GitLab