summaryrefslogtreecommitdiff
path: root/src/theory
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory')
-rw-r--r--src/theory/bv/theory_bv.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/theory/bv/theory_bv.cpp b/src/theory/bv/theory_bv.cpp
index e106f3b84..bcf6339ac 100644
--- a/src/theory/bv/theory_bv.cpp
+++ b/src/theory/bv/theory_bv.cpp
@@ -56,11 +56,18 @@ void TheoryBV::check(Effort e) {
BVDebug("bitvector") << "TheoryBV::check(" << e << ")" << std::endl;
- while(!done()) {
-
+ // Get all the assertions
+ std::vector<TNode> assertionsList;
+ while (!done()) {
// Get the assertion
TNode assertion = get();
d_assertions.insert(assertion);
+ assertionsList.push_back(assertion);
+ }
+
+ for (unsigned i = 0; i < assertionsList.size(); ++ i) {
+
+ TNode assertion = assertionsList[i];
BVDebug("bitvector") << "TheoryBV::check(" << e << "): asserting: " << assertion << std::endl;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback