summaryrefslogtreecommitdiff
path: root/src/theory
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2010-10-09 06:13:17 +0000
committerMorgan Deters <mdeters@gmail.com>2010-10-09 06:13:17 +0000
commite40b31aa45ca9e34b92875a8a1079ae953922956 (patch)
treeaa607aca0669a53df81045a530ce4e5e2a35eef9 /src/theory
parent97668b64994c5749a5a75822136de49841d2c15d (diff)
bug fixes to model gen
Diffstat (limited to 'src/theory')
-rw-r--r--src/theory/uf/morgan/theory_uf_morgan.cpp3
1 files changed, 1 insertions, 2 deletions
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);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback