// Check that the resulting distribution is in fact a distribution.
// Check that the resulting distribution is in fact a distribution.
STORM_LOG_THROW(!this->isDiscreteTimeModel()||!this->comparator.isConstant(probabilitySum)||this->comparator.isOne(probabilitySum),storm::exceptions::WrongFormatException,"Sum of update probabilities do not sum to one for some command (actually sum to "<<probabilitySum<<").");
STORM_LOG_THROW(!this->isDiscreteTimeModel()||!this->comparator.isConstant(probabilitySum)||this->comparator.isOne(probabilitySum),storm::exceptions::WrongFormatException,"Sum of update probabilities do not sum to one for some edge (actually sum to "<<probabilitySum<<").");
}
}
// Now, check whether there is one more command combination to consider.
// Now, check whether there is one more command combination to consider.