diff --git a/src/storm-dft/transformations/DftToGspnTransformator.cpp b/src/storm-dft/transformations/DftToGspnTransformator.cpp index f3a113215..14b037025 100644 --- a/src/storm-dft/transformations/DftToGspnTransformator.cpp +++ b/src/storm-dft/transformations/DftToGspnTransformator.cpp @@ -7,7 +7,7 @@ namespace storm { namespace dft { // Prevent some magic constants - static constexpr const uint64_t defaultPriority = 0; + static constexpr const uint64_t defaultPriority = 1; static constexpr const uint64_t defaultCapacity = 1; template @@ -436,7 +436,7 @@ namespace storm { template uint64_t DftToGspnTransformator::getFailPriority(std::shared_ptr const> dftElement) { - return mDft.maxRank() - dftElement->rank(); + return mDft.maxRank() - dftElement->rank() + 2; }