summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLiana Hadarean <lianahady@gmail.com>2013-04-16 11:17:36 -0400
committerLiana Hadarean <lianahady@gmail.com>2013-04-16 11:17:36 -0400
commitf5750be0382d74569532ae53865158659cf9f2f3 (patch)
tree2bd6d717eee22004ce904d07bedff5615bbe13da /src
parent1da2e989b6060fcadc060722b213e80b0cfce7ab (diff)
fixed compile error
Diffstat (limited to 'src')
-rw-r--r--src/theory/bv/bv_to_bool.cpp4
-rw-r--r--src/theory/bv/bv_to_bool.h2
-rw-r--r--src/theory/theory_engine.cpp2
-rw-r--r--src/theory/theory_engine.h2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/theory/bv/bv_to_bool.cpp b/src/theory/bv/bv_to_bool.cpp
index 7d3f58c8e..44c4bd021 100644
--- a/src/theory/bv/bv_to_bool.cpp
+++ b/src/theory/bv/bv_to_bool.cpp
@@ -241,7 +241,7 @@ bool BvToBoolPreprocessor::matchesBooleanPatern(TNode current) {
}
-void BvToBoolPreprocessor::liftBoolToBV(const std::vector<TNode>& assertions, std::vector<Node>& new_assertions) {
+void BvToBoolPreprocessor::liftBoolToBV(const std::vector<Node>& assertions, std::vector<Node>& new_assertions) {
TNodeNodeMap candidates;
for (unsigned i = 0; i < assertions.size(); ++i) {
if (matchesBooleanPatern(assertions[i])) {
@@ -249,7 +249,7 @@ void BvToBoolPreprocessor::liftBoolToBV(const std::vector<TNode>& assertions, st
TNode bv_var = assertion[0][0];
Assert (bv_var.getKind() == kind::VARIABLE &&
bv_var.getType().isBitVector() &&
- bv_bar.getType().getBitVectorSize() == 1);
+ bv_var.getType().getBitVectorSize() == 1);
TNode bool_cond = assertion[1];
Assert (bool_cond.getType().isBoolean());
if (candidates.find(bv_var) == candidates.end()) {
diff --git a/src/theory/bv/bv_to_bool.h b/src/theory/bv/bv_to_bool.h
index 9b1534b41..39c6b4251 100644
--- a/src/theory/bv/bv_to_bool.h
+++ b/src/theory/bv/bv_to_bool.h
@@ -65,7 +65,7 @@ public:
BvToBoolPreprocessor()
{}
~BvToBoolPreprocessor() {}
- void liftBoolToBV(const std::vector<TNode>& assertions, std::vector<Node>& new_assertions);
+ void liftBoolToBV(const std::vector<Node>& assertions, std::vector<Node>& new_assertions);
};
diff --git a/src/theory/theory_engine.cpp b/src/theory/theory_engine.cpp
index 8c430d6d4..22a0b00ed 100644
--- a/src/theory/theory_engine.cpp
+++ b/src/theory/theory_engine.cpp
@@ -1277,7 +1277,7 @@ void TheoryEngine::conflict(TNode conflict, TheoryId theoryId) {
}
}
-void TheoryEngine::ppBvToBool(const std::vector<TNode>& assertions, std::vector<Node> new_assertions) {
+void TheoryEngine::ppBvToBool(const std::vector<Node>& assertions, std::vector<Node> new_assertions) {
d_bvToBoolPreprocessor.liftBoolToBV(assertions, new_assertions);
}
diff --git a/src/theory/theory_engine.h b/src/theory/theory_engine.h
index d581aeda2..6d355ccce 100644
--- a/src/theory/theory_engine.h
+++ b/src/theory/theory_engine.h
@@ -753,7 +753,7 @@ private:
theory::bv::BvToBoolPreprocessor d_bvToBoolPreprocessor;
public:
- void ppBvToBool(const std::vector<TNode>& assertions, std::vector<Node> new_assertions);
+ void ppBvToBool(const std::vector<Node>& assertions, std::vector<Node> new_assertions);
Node ppSimpITE(TNode assertion);
void ppUnconstrainedSimp(std::vector<Node>& assertions);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback