From b13dbd11f3e9413a3dd7ac4e1897e13aa413d2a5 Mon Sep 17 00:00:00 2001 From: Jip Spel Date: Wed, 6 Feb 2019 20:25:42 +0100 Subject: [PATCH] Fix for monotonicitychecker --- src/storm-pars/api/region.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storm-pars/api/region.h b/src/storm-pars/api/region.h index 282c52649..f0315f45d 100644 --- a/src/storm-pars/api/region.h +++ b/src/storm-pars/api/region.h @@ -122,7 +122,7 @@ namespace storm { if (consideredModel->isOfType(storm::models::ModelType::Ctmc) || consideredModel->isOfType(storm::models::ModelType::MarkovAutomaton)) { STORM_LOG_WARN("Parameter lifting not supported for continuous time models. Transforming continuous model to discrete model..."); std::vector> taskFormulaAsVector { task.getFormula().asSharedPointer() }; - consideredModel = storm::api::transformContinuousToDiscreteTimeSparseModel(consideredModel, taskFormulaAsVector); + consideredModel = storm::api::transformContinuousToDiscreteTimeSparseModel(consideredModel, taskFormulaAsVector).first; STORM_LOG_THROW(consideredModel->isOfType(storm::models::ModelType::Dtmc) || consideredModel->isOfType(storm::models::ModelType::Mdp), storm::exceptions::UnexpectedException, "Transformation to discrete time model has failed."); }