From c01e0c11f536f413062338139348edba6372969d Mon Sep 17 00:00:00 2001 From: Sebastian Junges Date: Sat, 12 Jun 2021 16:57:46 -0700 Subject: [PATCH] silence warning due to time being returned as an int --- src/storm-pomdp/generator/NondeterministicBeliefTracker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storm-pomdp/generator/NondeterministicBeliefTracker.cpp b/src/storm-pomdp/generator/NondeterministicBeliefTracker.cpp index c02074a6b..d3b82647d 100644 --- a/src/storm-pomdp/generator/NondeterministicBeliefTracker.cpp +++ b/src/storm-pomdp/generator/NondeterministicBeliefTracker.cpp @@ -410,7 +410,7 @@ namespace storm { storm::utility::Stopwatch trackTimer(true); for (auto const& belief : beliefs) { belief.update(newObservation, newBeliefs); - if (options.trackTimeOut > 0 && trackTimer.getTimeInMilliseconds() > options.trackTimeOut) { + if (options.trackTimeOut > 0 && static_cast(trackTimer.getTimeInMilliseconds()) > options.trackTimeOut) { return false; } }