Merge branch 'fix-Simulation-setNumberThreads-parameter' into 'main'

[Fix] Fix `setNumberThreads()`-method parameter in Simulation.hpp.

See merge request naaice/tug!31
This commit is contained in:
Max Lübke 2024-06-06 11:53:24 +02:00
commit 00b0583504

View File

@ -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 {