From 3c58b5b2f74d8762c140d254b5abb30b0551cad4 Mon Sep 17 00:00:00 2001 From: Sebastian Junges Date: Mon, 8 Mar 2021 16:19:18 -0800 Subject: [PATCH] case split for MDPs actually checks for MDPs --- src/storm-pars-cli/storm-pars.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.");