diff --git a/opm/simulators/flow/FlowMain.hpp b/opm/simulators/flow/FlowMain.hpp index c5666664f..3ae346498 100644 --- a/opm/simulators/flow/FlowMain.hpp +++ b/opm/simulators/flow/FlowMain.hpp @@ -388,7 +388,7 @@ namespace Opm { // Issue a warning if both OMP_NUM_THREADS and --threads-per-process are set, // but let the environment variable take precedence. const int default_threads = 2; - const int requested_threads = Parameters::get(); + const int requested_threads = Parameters::get(); const char* env_var = getenv("OMP_NUM_THREADS"); int omp_num_threads = -1; try { diff --git a/opm/simulators/flow/Main.hpp b/opm/simulators/flow/Main.hpp index 470d4344b..5c4d913f5 100644 --- a/opm/simulators/flow/Main.hpp +++ b/opm/simulators/flow/Main.hpp @@ -20,7 +20,7 @@ You should have received a copy of the GNU General Public License along with OPM. If not, see . */ -#ifndef OPM_MAIN_HEADER_INCLUDED +#ifndef OPM_MAIN_HEADER_INCLUDEDp #define OPM_MAIN_HEADER_INCLUDED #include @@ -715,7 +715,7 @@ private: // Hence we duplicate the code of setupParallelism to get the number of threads. static bool first_time = true; const int default_threads = 2; - const int requested_threads = Parameters::get(); + const int requested_threads = Parameters::get(); const char* env_var = getenv("OMP_NUM_THREADS"); int omp_num_threads = -1; try {