From 5b7a06a474bc1dbe66e797999bbf005b5ca68900 Mon Sep 17 00:00:00 2001
From: Nils Kohl <nils.kohl@fau.de>
Date: Fri, 22 Mar 2019 11:09:39 +0100
Subject: [PATCH] Fixed conversion issue (second try)

---
 src/core/math/ParserOMP.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/core/math/ParserOMP.cpp b/src/core/math/ParserOMP.cpp
index c46dc4003..e39786837 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);
    }
 }
 
-- 
GitLab