summaryrefslogtreecommitdiff
path: root/src/theory/arith
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2012-02-22 22:32:45 +0000
committerTim King <taking@cs.nyu.edu>2012-02-22 22:32:45 +0000
commit88e588fdf712dcfa7f1ca185ee6e7b15305ba84b (patch)
treeb086d4d95f2d93abc0749300215e47154b6045fd /src/theory/arith
parent4711f242b834ae5616a6ddd28538b1e4cf863f50 (diff)
Fix for bug 305.
Diffstat (limited to 'src/theory/arith')
-rw-r--r--src/theory/arith/theory_arith.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/theory/arith/theory_arith.cpp b/src/theory/arith/theory_arith.cpp
index 05159407c..ec5752d3a 100644
--- a/src/theory/arith/theory_arith.cpp
+++ b/src/theory/arith/theory_arith.cpp
@@ -587,6 +587,10 @@ Node TheoryArith::callDioSolver(){
if(lb == ub){
Assert(lb.getKind() == EQUAL);
orig = lb;
+ }else if(lb.getKind() == EQUAL){
+ orig = lb;
+ }else if(ub.getKind() == EQUAL){
+ orig = ub;
}else{
NodeBuilder<> nb(AND);
nb << ub << lb;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback