We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e624fd6 commit c6af9e1Copy full SHA for c6af9e1
1 file changed
copasi/OpenMP/COpenMPConfig.cpp
@@ -197,7 +197,7 @@ bool COpenMPConfig::setScheduleStrategy(const std::string & scheduleStrategy)
197
void COpenMPConfig::initializeParameter()
198
{
199
std::string OMP_NUM_THREADS = COptions::getEnvironmentVariable("OMP_NUM_THREADS");
200
- C_UINT32 MaxNumThreads = OMP_NUM_THREADS.empty() ? ceil(MaxNumThreads / 2.0) : std::stoi(OMP_NUM_THREADS);
+ C_UINT32 MaxNumThreads = OMP_NUM_THREADS.empty() ? ceil(COpenMPConfig::MaxNumThreads / 2.0) : std::stoi(OMP_NUM_THREADS);
201
202
_ScheduleStrategyOpenMP Schedule = getSchedule();
203
0 commit comments