diff --git a/src/storm-dft/builder/ExplicitDFTModelBuilderApprox.cpp b/src/storm-dft/builder/ExplicitDFTModelBuilderApprox.cpp index f035b0a55..c7d6605f5 100644 --- a/src/storm-dft/builder/ExplicitDFTModelBuilderApprox.cpp +++ b/src/storm-dft/builder/ExplicitDFTModelBuilderApprox.cpp @@ -581,13 +581,13 @@ namespace storm { maComponents.rateTransitions = true; maComponents.markovianStates = modelComponents.markovianStates; maComponents.exitRates = modelComponents.exitRates; - std::shared_ptr> ma = std::make_shared>(std::move(maComponents)); + ma = std::make_shared>(std::move(maComponents)); } else { storm::storage::sparse::ModelComponents maComponents(std::move(modelComponents.transitionMatrix), std::move(modelComponents.stateLabeling)); maComponents.rateTransitions = true; maComponents.markovianStates = std::move(modelComponents.markovianStates); maComponents.exitRates = std::move(modelComponents.exitRates); - std::shared_ptr> ma = std::make_shared>(std::move(maComponents)); + ma = std::make_shared>(std::move(maComponents)); } if (ma->hasOnlyTrivialNondeterminism()) { // Markov automaton can be converted into CTMC