From f7dbf3abafa1339b7bf8c51af07257e1a91ac302 Mon Sep 17 00:00:00 2001 From: DannyPuhan Date: Thu, 6 Jun 2024 08:59:02 +0200 Subject: [PATCH] [Fix] Fix `setNumberThreads()`-method parameter in Simulation.hpp. --- include/tug/Simulation.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tug/Simulation.hpp b/include/tug/Simulation.hpp index 469b411..9798856 100644 --- a/include/tug/Simulation.hpp +++ b/include/tug/Simulation.hpp @@ -266,7 +266,7 @@ public: * maximum number of processors is set as the default case during Simulation * construction. */ - void setNumberThreads(int num_threads) { + void setNumberThreads(int numThreads) { if (numThreads > 0 && numThreads <= omp_get_num_procs()) { this->numThreads = numThreads; } else {