From 752b07858cf473d116f1167c752b2be0b1068645 Mon Sep 17 00:00:00 2001 From: Tim King Date: Thu, 1 Mar 2012 00:38:37 +0000 Subject: [PATCH] Fixed a copy paste error where a lower bound was looked up instead of an upper bound. --- src/theory/arith/theory_arith.cpp | 4 ++-- 1 file 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); } } -- 2.30.2