From 1affccbf81d1596c25dc5abbec3edac9a481bc34 Mon Sep 17 00:00:00 2001 From: Matthias Volk Date: Thu, 23 Nov 2017 16:35:40 +0100 Subject: [PATCH] Fixed encoding of PAND --- src/storm-dft/modelchecker/dft/DFTASFChecker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storm-dft/modelchecker/dft/DFTASFChecker.cpp b/src/storm-dft/modelchecker/dft/DFTASFChecker.cpp index 4289dba8a..7f26ed62d 100644 --- a/src/storm-dft/modelchecker/dft/DFTASFChecker.cpp +++ b/src/storm-dft/modelchecker/dft/DFTASFChecker.cpp @@ -384,7 +384,7 @@ namespace storm { { // Constraint for PAND gate (constraint 3) std::shared_ptr ifC = std::make_shared(childVarIndices); - std::shared_ptr thenC = std::make_shared(timePointVariables.at(i), timePointVariables.at(childVarIndices.back())); + std::shared_ptr thenC = std::make_shared(timePointVariables.at(i), childVarIndices.back()); std::shared_ptr elseC = std::make_shared(timePointVariables.at(i), notFailed); constraints.push_back(std::make_shared(ifC, thenC, elseC)); constraints.back()->setDescription("PAND gate");