diff options
author | lianah <lianahady@gmail.com> | 2013-02-04 21:16:55 -0500 |
---|---|---|
committer | lianah <lianahady@gmail.com> | 2013-02-04 21:16:55 -0500 |
commit | 8aaee8d5acce9887329f3e5a6fdeb425e428ec79 (patch) | |
tree | bb353b395126f8aede271548fea7af3bf888255a /src/theory/bv/theory_bv.cpp | |
parent | 764bda53ed154495286d7ff117aa7182a8ce5f7b (diff) |
Fixing regression failure. The only unfixed ones seem model related which would require some graph coloring algorithm.
Diffstat (limited to 'src/theory/bv/theory_bv.cpp')
-rw-r--r-- | src/theory/bv/theory_bv.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/theory/bv/theory_bv.cpp b/src/theory/bv/theory_bv.cpp index 848063b76..bb4b480d6 100644 --- a/src/theory/bv/theory_bv.cpp +++ b/src/theory/bv/theory_bv.cpp @@ -41,6 +41,7 @@ TheoryBV::TheoryBV(context::Context* c, context::UserContext* u, OutputChannel& d_alreadyPropagatedSet(c), d_sharedTermsSet(c), d_slicer(), + d_bitblastAssertionsQueue(c), d_bitblastSolver(c, this), d_coreSolver(c, this, &d_slicer), d_statistics(), @@ -117,6 +118,7 @@ void TheoryBV::check(Effort e) Assertion assertion = get(); TNode fact = assertion.assertion; new_assertions.push_back(fact); + d_bitblastAssertionsQueue.push_back(fact); Debug("bitvector-assertions") << "TheoryBV::check assertion " << fact << "\n"; } @@ -128,6 +130,9 @@ void TheoryBV::check(Effort e) if (!inConflict() && !d_coreSolver.isCoreTheory()) { // sending assertions to the bitblast solver if it's not just core theory d_bitblastSolver.addAssertions(new_assertions, e); + } else { + // sending assertions to the bitblast solver if it's not just core theory + d_bitblastSolver.addAssertions(new_assertions, EFFORT_STANDARD); } if (inConflict()) { @@ -140,7 +145,6 @@ void TheoryBV::collectModelInfo( TheoryModel* m, bool fullModel ){ // Assert (fullModel); // can only query full model d_coreSolver.collectModelInfo(m); d_bitblastSolver.collectModelInfo(m); - } void TheoryBV::propagate(Effort e) { |