summaryrefslogtreecommitdiff
path: root/src/theory/bv/theory_bv.h
diff options
context:
space:
mode:
authorDejan Jovanović <dejan.jovanovic@gmail.com>2011-03-21 18:55:05 +0000
committerDejan Jovanović <dejan.jovanovic@gmail.com>2011-03-21 18:55:05 +0000
commit75adfe4e8ef1fab4b9cd4c31d40c15e9a1637a5e (patch)
treedc866579086454092edaecd78bcfadf2da03b08c /src/theory/bv/theory_bv.h
parent7f49a7aedc16cb46216f92d00881cd3485acc206 (diff)
more bugfixes, some basic propagation, and testcases to cover them
Diffstat (limited to 'src/theory/bv/theory_bv.h')
-rw-r--r--src/theory/bv/theory_bv.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/theory/bv/theory_bv.h b/src/theory/bv/theory_bv.h
index 474c4d0cd..f2c2fa332 100644
--- a/src/theory/bv/theory_bv.h
+++ b/src/theory/bv/theory_bv.h
@@ -45,7 +45,9 @@ public:
return d_theoryBV.triggerEquality(triggerId);
}
void conflict(Node explanation) {
- d_theoryBV.d_out->conflict(explanation);
+ std::set<TNode> assumptions;
+ utils::getConjuncts(explanation, assumptions);
+ d_theoryBV.d_out->conflict(utils::mkConjunction(assumptions));
}
};
@@ -119,7 +121,7 @@ public:
void propagate(Effort e) { }
- void explain(TNode n) { }
+ void explain(TNode n);
Node getValue(TNode n, Valuation* valuation);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback