STORM_LOG_THROW(positionOfFirstRelation!=std::string::npos,storm::exceptions::InvalidArgumentException,"When parsing the region"<<parameterBoundariesString<<" I could not find a '<=' after the first number");
STORM_LOG_THROW(positionOfSecondRelation!=std::string::npos,storm::exceptions::InvalidArgumentException,"When parsing the region"<<parameterBoundariesString<<" I could not find a '<=' after the parameter");
STORM_LOG_THROW(parameter.length()>0,storm::exceptions::InvalidArgumentException,"When parsing the region"<<parameterBoundariesString<<" I could not find a parameter");
@ -25,17 +26,19 @@ namespace storm {
for(autoconst&v:consideredVariables){
std::stringstreamstream;
stream<<v;
std::stringvAsString=stream.str();
if(parameter==stream.str()){
var=std::make_unique<VariableType>(v);
break;
}
}
STORM_LOG_ASSERT(var,"Could not find parameter "<<parameter<<" in the set of considered variables");