From 0d7889932c35adc0cd49125328c7b5690287e495 Mon Sep 17 00:00:00 2001 From: dehnert Date: Sun, 3 Mar 2013 21:33:32 +0100 Subject: [PATCH] Fixed bug that gave wrong vector when parsing the state rewards. --- src/parser/NondeterministicModelParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/NondeterministicModelParser.cpp b/src/parser/NondeterministicModelParser.cpp index 87eb3cc57..e1f677239 100644 --- a/src/parser/NondeterministicModelParser.cpp +++ b/src/parser/NondeterministicModelParser.cpp @@ -30,7 +30,7 @@ namespace parser { NondeterministicModelParser::NondeterministicModelParser(std::string const & transitionSystemFile, std::string const & labelingFile, std::string const & stateRewardFile, std::string const & transitionRewardFile) { storm::parser::NondeterministicSparseTransitionParser tp(transitionSystemFile); - uint_fast64_t stateCount = tp.getMatrix()->getRowCount(); + uint_fast64_t stateCount = tp.getMatrix()->getColumnCount(); storm::parser::AtomicPropositionLabelingParser lp(stateCount, labelingFile); if (stateRewardFile != "") {