From ace351bd71746c939725cec87f7fe5a30e253381 Mon Sep 17 00:00:00 2001 From: Sebastian Junges Date: Wed, 8 Nov 2017 15:35:03 +0100 Subject: [PATCH] Constants wrongfully marked as not graphpresreving. Bugfix for bug reported by Nils Jansen. --- src/storm/storage/prism/Program.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/storm/storage/prism/Program.cpp b/src/storm/storage/prism/Program.cpp index 9a4132420..edd17c3d0 100644 --- a/src/storm/storage/prism/Program.cpp +++ b/src/storm/storage/prism/Program.cpp @@ -247,13 +247,7 @@ namespace storm { } } - // Then check the formulas. - for (auto const& formula : this->getFormulas()) { - if (formula.getExpression().containsVariable(undefinedConstantVariables)) { - return false; - } - } - + // Proceed by checking each of the modules. for (auto const& module : this->getModules()) { if (!module.containsVariablesOnlyInUpdateProbabilities(undefinedConstantVariables)) {