summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2012-03-01 00:38:37 +0000
committerTim King <taking@cs.nyu.edu>2012-03-01 00:38:37 +0000
commit752b07858cf473d116f1167c752b2be0b1068645 (patch)
tree7440fe81d04cacebfbe233fbadb9bb4f4ca57774
parent2821b7a47e779c7d4f189ffdffaebe4bdb5b9036 (diff)
Fixed a copy paste error where a lower bound was looked up instead of an upper bound.
-rw-r--r--src/theory/arith/theory_arith.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/arith/theory_arith.cpp b/src/theory/arith/theory_arith.cpp
index 1137ca7b7..fcac6f10e 100644
--- a/src/theory/arith/theory_arith.cpp
+++ b/src/theory/arith/theory_arith.cpp
@@ -192,8 +192,8 @@ Node TheoryArith::AssertLower(ArithVar x_i, DeltaRational& c_i, TNode original){
Node diseq = left.eqNode(right).notNode();
if (d_diseq.find(diseq) != d_diseq.end()) {
- Node lb = d_partialModel.getLowerConstraint(x_i);
- return disequalityConflict(diseq, lb , original);
+ Node ub = d_partialModel.getUpperConstraint(x_i);
+ return disequalityConflict(diseq, ub , original);
}
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback