summaryrefslogtreecommitdiff
path: root/src/theory/bv/bv_subtheory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/bv/bv_subtheory.h')
-rw-r--r--src/theory/bv/bv_subtheory.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/theory/bv/bv_subtheory.h b/src/theory/bv/bv_subtheory.h
index f4b88b719..1244ae828 100644
--- a/src/theory/bv/bv_subtheory.h
+++ b/src/theory/bv/bv_subtheory.h
@@ -55,7 +55,7 @@ inline std::ostream& operator<<(std::ostream& out, SubTheory subtheory) {
}
// forward declaration
-class TheoryBV;
+class BVSolverLazy;
using AssertionQueue = context::CDQueue<Node>;
@@ -65,11 +65,10 @@ using AssertionQueue = context::CDQueue<Node>;
*/
class SubtheorySolver {
public:
- SubtheorySolver(context::Context* c, TheoryBV* bv)
- : d_context(c),
- d_bv(bv),
- d_assertionQueue(c),
- d_assertionIndex(c, 0) {}
+ SubtheorySolver(context::Context* c, BVSolverLazy* bv)
+ : d_context(c), d_bv(bv), d_assertionQueue(c), d_assertionIndex(c, 0)
+ {
+ }
virtual ~SubtheorySolver() {}
virtual bool check(Theory::Effort e) = 0;
virtual void explain(TNode literal, std::vector<TNode>& assumptions) = 0;
@@ -101,7 +100,7 @@ class SubtheorySolver {
context::Context* d_context;
/** The bit-vector theory */
- TheoryBV* d_bv;
+ BVSolverLazy* d_bv;
AssertionQueue d_assertionQueue;
context::CDO<uint32_t> d_assertionIndex;
}; /* class SubtheorySolver */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback