Skip to content

Commit

Permalink
Complain if bigstep gets a non-probabilistic matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
glatteis committed Jul 16, 2024
1 parent 8f2281e commit 21acd0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/storm-pars/transformer/TimeTravelling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ std::pair<models::sparse::Dtmc<RationalFunction>, std::map<UniPoly, Annotation>>
models::sparse::Dtmc<RationalFunction> const& model, modelchecker::CheckTask<logic::Formula, RationalFunction> const& checkTask) {
models::sparse::Dtmc<RationalFunction> dtmc(model);
storage::SparseMatrix<RationalFunction> transitionMatrix = dtmc.getTransitionMatrix();

STORM_LOG_ASSERT(transitionMatrix.isProbabilistic(), "Gave big-step a nonprobabilistic transition matrix.");

uint64_t initialState = dtmc.getInitialStates().getNextSetIndex(0);

uint64_t originalNumStates = dtmc.getNumberOfStates();
Expand Down

0 comments on commit 21acd0b

Please sign in to comment.