STORM_LOG_THROW(assignedValue<=integerIt->upperBound,storm::exceptions::WrongFormatException,"The update "<<update<<" leads to an out-of-bounds value ("<<assignedValue<<") for the variable '"<<assignmentIt->getVariableName()<<"'.");
STORM_LOG_THROW(assignedValue<=integerIt->upperBound,storm::exceptions::WrongFormatException,"The update "<<update<<" leads to an out-of-bounds value ("<<assignedValue<<") for the variable '"<<assignmentIt->getVariableName()<<"'.");
STORM_LOG_ASSERT(newState.getAsInt(integerIt->bitOffset,integerIt->bitWidth)==assignedValue,"Writing to the bit vector bucket failed.");
}
}
// Check that we processed all assignments.
// Check that we processed all assignments.
@ -328,7 +329,7 @@ namespace storm {
choice.addProbability(stateIndex,probability);
choice.addProbability(stateIndex,probability);
probabilitySum+=probability;
probabilitySum+=probability;
}
}
// Check that the resulting distribution is in fact a distribution.
// Check that the resulting distribution is in fact a distribution.
STORM_LOG_THROW(!discreteTimeModel||comparator.isOne(probabilitySum),storm::exceptions::WrongFormatException,"Probabilities do not sum to one for command '"<<command<<"' (actually sum to "<<probabilitySum<<").");
STORM_LOG_THROW(!discreteTimeModel||comparator.isOne(probabilitySum),storm::exceptions::WrongFormatException,"Probabilities do not sum to one for command '"<<command<<"' (actually sum to "<<probabilitySum<<").");