diff --git a/src/storm-pars-cli/storm-pars.cpp b/src/storm-pars-cli/storm-pars.cpp index 65c68a6c9..165bda5d4 100644 --- a/src/storm-pars-cli/storm-pars.cpp +++ b/src/storm-pars-cli/storm-pars.cpp @@ -380,7 +380,7 @@ namespace storm { verifyPropertiesAtSamplePoints, ValueType, SolveValueType>(*model->template as>(), input, samples); } else if (model->isOfType(storm::models::ModelType::Ctmc)) { verifyPropertiesAtSamplePoints, ValueType, SolveValueType>(*model->template as>(), input, samples); - } else if (model->isOfType(storm::models::ModelType::Ctmc)) { + } else if (model->isOfType(storm::models::ModelType::Mdp)) { verifyPropertiesAtSamplePoints, ValueType, SolveValueType>(*model->template as>(), input, samples); } else { STORM_LOG_THROW(false, storm::exceptions::NotSupportedException, "Sampling is currently only supported for DTMCs, CTMCs and MDPs.");