Skip to content
Snippets Groups Projects
Commit 5b7a06a4 authored by Nils Kohl's avatar Nils Kohl :full_moon_with_face:
Browse files

Fixed conversion issue (second try)

parent e72b285e
No related merge requests found
...@@ -51,9 +51,9 @@ void FunctionParserOMP::parse(const std::string & eq) ...@@ -51,9 +51,9 @@ void FunctionParserOMP::parse(const std::string & eq)
#ifdef _OPENMP #ifdef _OPENMP
#pragma omp parallel for schedule(static) #pragma omp parallel for schedule(static)
#endif #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);
} }
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment