summaryrefslogtreecommitdiff
path: root/src/theory
diff options
context:
space:
mode:
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