diff options
author | Tim King <taking@cs.nyu.edu> | 2012-11-10 19:01:49 +0000 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2012-11-10 19:01:49 +0000 |
commit | 8b5686a7dd0b559356e9e3bf76be93ad9c726085 (patch) | |
tree | 3cc6fb03604f5cbf913c872ed44504997cdc4b52 /src/theory/arith/partial_model.cpp | |
parent | 1161090e572f85d2ed191b66315406daa7ba7527 (diff) |
Fix for bug 439. Delta computation now includes disequality information.
Diffstat (limited to 'src/theory/arith/partial_model.cpp')
-rw-r--r-- | src/theory/arith/partial_model.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/arith/partial_model.cpp b/src/theory/arith/partial_model.cpp index 73e7943b0..edba437ab 100644 --- a/src/theory/arith/partial_model.cpp +++ b/src/theory/arith/partial_model.cpp @@ -289,9 +289,9 @@ void ArithPartialModel::deltaIsSmallerThan(const DeltaRational& l, const DeltaRa } } -void ArithPartialModel::computeDelta(){ +void ArithPartialModel::computeDelta(const Rational& init){ Assert(!d_deltaIsSafe); - d_delta = 1; + d_delta = init; for(ArithVar x = 0; x < d_mapSize; ++x){ const DeltaRational& a = getAssignment(x); |