diff options
author | Tim King <taking@cs.nyu.edu> | 2012-03-01 00:38:37 +0000 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2012-03-01 00:38:37 +0000 |
commit | 752b07858cf473d116f1167c752b2be0b1068645 (patch) | |
tree | 7440fe81d04cacebfbe233fbadb9bb4f4ca57774 /src/theory | |
parent | 2821b7a47e779c7d4f189ffdffaebe4bdb5b9036 (diff) |
Fixed a copy paste error where a lower bound was looked up instead of an upper bound.
Diffstat (limited to 'src/theory')
-rw-r--r-- | src/theory/arith/theory_arith.cpp | 4 |
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); } } |