summaryrefslogtreecommitdiff
path: root/src/theory/arith/theory_arith.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/arith/theory_arith.cpp')
-rw-r--r--src/theory/arith/theory_arith.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/theory/arith/theory_arith.cpp b/src/theory/arith/theory_arith.cpp
index c69960d37..066eb85b5 100644
--- a/src/theory/arith/theory_arith.cpp
+++ b/src/theory/arith/theory_arith.cpp
@@ -1035,3 +1035,12 @@ void TheoryArith::presolve(){
learner.clear();
check(FULL_EFFORT);
}
+
+EqualityStatus TheoryArith::getEqualityStatus(TNode a, TNode b) {
+ if (getValue(a) == getValue(b)) {
+ return EQUALITY_TRUE_IN_MODEL;
+ } else {
+ return EQUALITY_FALSE_IN_MODEL;
+ }
+
+}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback