Browse Source

silence warning due to time being returned as an int

tempestpy_adaptions
Sebastian Junges 3 years ago
parent
commit
c01e0c11f5
  1. 2
      src/storm-pomdp/generator/NondeterministicBeliefTracker.cpp

2
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<uint64_t>(trackTimer.getTimeInMilliseconds()) > options.trackTimeOut) {
return false;
}
}
Loading…
Cancel
Save