STORM_LOG_ASSERT((formula->isTimeOperatorFormula()&&!probabilityFormula)||(!formula->isTimeOperatorFormula()&&probabilityFormula),"Probability formula not initialized correctly");
size_titeration=0;
do{
// Iteratively build finer models
@ -170,7 +172,7 @@ namespace storm {
// Build model for lower bound
STORM_LOG_INFO("Getting model for lower bound...");
STORM_LOG_INFO("Result after iteration "<<iteration<<": ("<<std::setprecision(10)<<approxResult.first<<", "<<approxResult.second<<")");
STORM_LOG_THROW(!storm::utility::isInfinity<ValueType>(approxResult.first)&&!storm::utility::isInfinity<ValueType>(approxResult.second),storm::exceptions::NotSupportedException,"Approximation does not work if result might be infinity.");
STORM_LOG_THROW(!std::isnan(lowerBound)&&!std::isnan(upperBound),storm::exceptions::NotSupportedException,"Approximation does not work if result is NaN.");