summaryrefslogtreecommitdiff
path: root/src/theory/bv/theory_bv.cpp
diff options
context:
space:
mode:
authorDejan Jovanović <dejan.jovanovic@gmail.com>2012-05-16 16:18:52 +0000
committerDejan Jovanović <dejan.jovanovic@gmail.com>2012-05-16 16:18:52 +0000
commit9154e647013e4575f60807d5b73582bccfd052e2 (patch)
treed32c32473a9eea80798c2e4ae60b9420a05e5c57 /src/theory/bv/theory_bv.cpp
parent6d4822f197ccd235175669f199e922aa12eda4b1 (diff)
equality status for bitvectors can now look into the sat solver to check for IN_MODEL status
Diffstat (limited to 'src/theory/bv/theory_bv.cpp')
-rw-r--r--src/theory/bv/theory_bv.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/theory/bv/theory_bv.cpp b/src/theory/bv/theory_bv.cpp
index 26452e5e8..79ab955aa 100644
--- a/src/theory/bv/theory_bv.cpp
+++ b/src/theory/bv/theory_bv.cpp
@@ -296,6 +296,11 @@ EqualityStatus TheoryBV::getEqualityStatus(TNode a, TNode b)
return EQUALITY_UNKNOWN;
}
- return d_equalitySolver.getEqualityStatus(a, b);
+ EqualityStatus status = d_equalitySolver.getEqualityStatus(a, b);
+ if (status == EQUALITY_UNKNOWN) {
+ status = d_bitblastSolver.getEqualityStatus(a, b);
+ }
+
+ return status;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback