Browse Source

Fixed assertion to allow timebound 0

tempestpy_adaptions
Matthias Volk 8 years ago
parent
commit
b695dd48fb
  1. 2
      src/storm/logic/BoundedUntilFormula.cpp

2
src/storm/logic/BoundedUntilFormula.cpp

@ -105,7 +105,7 @@ namespace storm {
template <>
double BoundedUntilFormula::getNonStrictUpperBound() const {
double bound = getUpperBound<double>();
STORM_LOG_THROW(bound > 0, storm::exceptions::InvalidPropertyException, "Cannot retrieve non-strict bound from strict zero-bound.");
STORM_LOG_THROW(!isUpperBoundStrict() || bound > 0, storm::exceptions::InvalidPropertyException, "Cannot retrieve non-strict bound from strict zero-bound.");
return bound;
}

Loading…
Cancel
Save