Browse Source

fix bug

Former-commit-id: 6f2bb74491
tempestpy_adaptions
ThomasH 8 years ago
parent
commit
b9297fa513
  1. 4
      src/builder/ExplicitGspnModelBuilder.cpp

4
src/builder/ExplicitGspnModelBuilder.cpp

@ -66,7 +66,7 @@ namespace storm {
addRowForTimedTransitions(enabledTimedTransitions, currentMarking, accRate); addRowForTimedTransitions(enabledTimedTransitions, currentMarking, accRate);
} else { } else {
markovianStates.set(currentRowIndex, 0);
markovianStates.set(currentRowIndex, 1);
} }
} }
++currentRowIndex; ++currentRowIndex;
@ -110,6 +110,8 @@ namespace storm {
} }
std::cout << "print matrix:" << std::endl;
std::cout << matrix << std::endl;
//auto labeling = getStateLabeling(); //auto labeling = getStateLabeling();
return storm::models::sparse::MarkovAutomaton<double>(matrix, labeling, markovianStates, exitRates); return storm::models::sparse::MarkovAutomaton<double>(matrix, labeling, markovianStates, exitRates);

Loading…
Cancel
Save