summaryrefslogtreecommitdiff
path: root/src/theory/bv/theory_bv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/bv/theory_bv.cpp')
-rw-r--r--src/theory/bv/theory_bv.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/theory/bv/theory_bv.cpp b/src/theory/bv/theory_bv.cpp
index c1fa692b9..c977435ec 100644
--- a/src/theory/bv/theory_bv.cpp
+++ b/src/theory/bv/theory_bv.cpp
@@ -224,7 +224,7 @@ Node TheoryBV::getValue(TNode n) {
}
}
-void TheoryBV::explain(TNode node) {
+Node TheoryBV::explain(TNode node) {
BVDebug("bitvector") << "TheoryBV::explain(" << node << ")" << std::endl;
TNode equality = node.getKind() == kind::NOT ? node[0] : node;
@@ -237,6 +237,5 @@ void TheoryBV::explain(TNode node) {
BVDebug("bitvector") << " assumptions " << utils::setToString(d_normalization[equality]->assumptions[i]) << std::endl;
assumptions.insert(vec[i].begin(), vec[i].end());
}
- d_out->explanation(utils::mkConjunction(assumptions));
- return;
+ return utils::mkConjunction(assumptions);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback