STORM_LOG_THROW(assignment.getExpressionVariable()!=(*it)->getExpressionVariable(),storm::exceptions::InvalidArgumentException,"Cannot add assignment ('"<<assignment.getAssignedExpression()<<"') as an assignment ('"<<(*it)->getAssignedExpression()<<"') to variable '"<<(*it)->getVariable().getName()<<"' already exists.");
STORM_LOG_THROW(addToExisting&&assignment.getExpressionVariable().hasNumericalType(),storm::exceptions::InvalidArgumentException,"Cannot add assignment ('"<<assignment.getAssignedExpression()<<"') as an assignment ('"<<(*it)->getAssignedExpression()<<"') to variable '"<<(*it)->getVariable().getName()<<"' already exists.");