From 5109c45c23af58398e7751db8639b039f62082c3 Mon Sep 17 00:00:00 2001 From: Mavo Date: Fri, 19 Aug 2016 12:09:48 +0200 Subject: [PATCH] Fixed returning result for pCTMC Former-commit-id: 2db7f87f65cefd4da1250163fe73af85a8f9c806 --- src/utility/storm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utility/storm.h b/src/utility/storm.h index ad9cb1de0..4a32c7ad4 100644 --- a/src/utility/storm.h +++ b/src/utility/storm.h @@ -381,10 +381,10 @@ namespace storm { if (model->getType() == storm::models::ModelType::Dtmc) { result = verifySparseDtmc(model->template as>(), task); } else if (model->getType() == storm::models::ModelType::Mdp) { - std::shared_ptr> mdp = model->template as>(); + //std::shared_ptr> mdp = model->template as>(); STORM_LOG_THROW(false, storm::exceptions::NotSupportedException, "The parametric engine currently does not support MDPs."); } else if (model->getType() == storm::models::ModelType::Ctmc) { - verifySparseCtmc(model->template as>(), task); + result = verifySparseCtmc(model->template as>(), task); } else { STORM_LOG_THROW(false, storm::exceptions::NotSupportedException, "The parametric engine currently does not support " << model->getType()); }