diff --git a/src/storm/modelchecker/helper/finitehorizon/SparseNondeterministicStepBoundedHorizonHelper.cpp b/src/storm/modelchecker/helper/finitehorizon/SparseNondeterministicStepBoundedHorizonHelper.cpp index 0d88c456e..ea1948d54 100644 --- a/src/storm/modelchecker/helper/finitehorizon/SparseNondeterministicStepBoundedHorizonHelper.cpp +++ b/src/storm/modelchecker/helper/finitehorizon/SparseNondeterministicStepBoundedHorizonHelper.cpp @@ -87,7 +87,7 @@ namespace storm { std::vector rowGroupIndices = transitionMatrix.getRowGroupIndices(); std::vector maybeStatesRowGroupSizes; - uint choiceValuesCounter; + uint choiceValuesCounter = 0; getMaybeStatesRowGroupSizes(transitionMatrix, maybeStates, maybeStatesRowGroupSizes, choiceValuesCounter); choiceValues = std::vector(choiceValuesCounter, storm::utility::zero());