From e40b31aa45ca9e34b92875a8a1079ae953922956 Mon Sep 17 00:00:00 2001 From: Morgan Deters Date: Sat, 9 Oct 2010 06:13:17 +0000 Subject: bug fixes to model gen --- src/theory/uf/morgan/theory_uf_morgan.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/theory') diff --git a/src/theory/uf/morgan/theory_uf_morgan.cpp b/src/theory/uf/morgan/theory_uf_morgan.cpp index a1eec9d4c..fe1f3106e 100644 --- a/src/theory/uf/morgan/theory_uf_morgan.cpp +++ b/src/theory/uf/morgan/theory_uf_morgan.cpp @@ -462,10 +462,9 @@ Node TheoryUFMorgan::getValue(TNode n, TheoryEngine* engine) { if(n.getType().isBoolean()) { if(d_cc.areCongruent(d_trueNode, n)) { return nodeManager->mkConst(true); - } else if(d_cc.areCongruent(d_trueNode, n)) { + } else if(d_cc.areCongruent(d_falseNode, n)) { return nodeManager->mkConst(false); } - return Node::null(); } return d_cc.normalize(n); -- cgit v1.2.3