diff --git a/src/core/math/ParserOMP.cpp b/src/core/math/ParserOMP.cpp index c46dc4003042a8905a8c4963c2c9ffd99f6d3c12..e39786837abbfc112959137f1783e7238950838f 100644 --- a/src/core/math/ParserOMP.cpp +++ b/src/core/math/ParserOMP.cpp @@ -51,9 +51,9 @@ void FunctionParserOMP::parse(const std::string & eq) #ifdef _OPENMP #pragma omp parallel for schedule(static) #endif - for (uint_t t = 0; t < uint_c( omp_get_max_threads() ); ++t) + for (int t = 0; t < omp_get_max_threads(); ++t) { - parser_[t].parse(eq); + parser_[uint_c(t)].parse(eq); } }