From cbf1301e470c9f2b512c4ac6a770685d7118d629 Mon Sep 17 00:00:00 2001 From: dehnert Date: Mon, 18 Aug 2014 12:23:01 +0200 Subject: [PATCH] Small bugfix. Former-commit-id: 11d4a2474a8de162a5d21830b269aa631f48d048 --- src/models/Mdp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/Mdp.h b/src/models/Mdp.h index de5e3d78b..5dd1c8c0e 100644 --- a/src/models/Mdp.h +++ b/src/models/Mdp.h @@ -139,7 +139,7 @@ public: std::vector> const& choiceLabeling = this->getChoiceLabeling(); - storm::storage::SparseMatrixBuilder transitionMatrixBuilder(0, 0, 0, true); + storm::storage::SparseMatrixBuilder transitionMatrixBuilder(0, this->getTransitionMatrix().getColumnCount(), 0, true); std::vector> newChoiceLabeling; // Check for each choice of each state, whether the choice labels are fully contained in the given label set.