From c7ccddcad95d7b6534a83a873c522b115530a553 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Dejan=20Jovanovi=C4=87?= Date: Thu, 11 Mar 2010 06:15:32 +0000 Subject: [PATCH] Boolean variables were marked as theory literals by mistake. Fixed, should give us back the SAT performance we had before the theory stuff. --- src/prop/cnf_stream.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/prop/cnf_stream.cpp b/src/prop/cnf_stream.cpp index 634ba00d4..a5924a544 100644 --- a/src/prop/cnf_stream.cpp +++ b/src/prop/cnf_stream.cpp @@ -109,8 +109,9 @@ SatLiteral TseitinCnfStream::handleAtom(const TNode& node) { Assert(!isCached(node), "atom already mapped!"); Debug("cnf") << "handleAtom(" << node << ")" << endl; - - SatLiteral lit = newLiteral(node, true); + + bool theoryLiteral = node.getKind() != kind::VARIABLE; + SatLiteral lit = newLiteral(node, theoryLiteral); switch(node.getKind()) { case TRUE: -- 2.30.2