STORM_LOG_THROW((guard.getType()==carl::VariableType::VT_BOOL),storm::exceptions::IllegalArgumentException,"Tried to add a guarded constraint, but the guard is not of type bool.");
//if some of the occurring variables are not declared yet, we will have to (including the guard!).
STORM_LOG_THROW((variable.getType()==carl::VariableType::VT_BOOL),storm::exceptions::IllegalArgumentException,"Tried to add a constraint that consists of a non-boolean variable.");
STORM_LOG_THROW((variable.getType()==carl::VariableType::VT_BOOL),storm::exceptions::IllegalArgumentException,"Tried to add a constraint that consists of a non-boolean variable.");