From: Tim King Date: Thu, 1 Mar 2012 00:38:37 +0000 (+0000) Subject: Fixed a copy paste error where a lower bound was looked up instead of an upper bound. X-Git-Tag: cvc5-1.0.0~8293 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=752b07858cf473d116f1167c752b2be0b1068645;p=cvc5.git Fixed a copy paste error where a lower bound was looked up instead of an upper bound. --- 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); } }