diff options
author | Tim King <taking@cs.nyu.edu> | 2012-02-22 22:32:45 +0000 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2012-02-22 22:32:45 +0000 |
commit | 88e588fdf712dcfa7f1ca185ee6e7b15305ba84b (patch) | |
tree | b086d4d95f2d93abc0749300215e47154b6045fd /src/theory | |
parent | 4711f242b834ae5616a6ddd28538b1e4cf863f50 (diff) |
Fix for bug 305.
Diffstat (limited to 'src/theory')
-rw-r--r-- | src/theory/arith/theory_arith.cpp | 4 |
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; |