diff options
author | Tim King <taking@cs.nyu.edu> | 2010-05-20 22:51:48 +0000 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2010-05-20 22:51:48 +0000 |
commit | 5321d62fce6c747fa9d11e9df5b2ef8c4e25de21 (patch) | |
tree | 87685c6a9f32d99f09de28a02fc80378a94b6ec9 /src/theory/arith/partial_model.cpp | |
parent | ff70395fd3dcde9f68eda1c6a8bd70e6491f7458 (diff) |
Added the division symbol to the parser, and minimal support for it in TheoryArith. Also directly hacked in support for theoryOf() to work for equalities where the left hand is a variable of type real.
Diffstat (limited to 'src/theory/arith/partial_model.cpp')
-rw-r--r-- | src/theory/arith/partial_model.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/theory/arith/partial_model.cpp b/src/theory/arith/partial_model.cpp index e3347df64..4ac03c904 100644 --- a/src/theory/arith/partial_model.cpp +++ b/src/theory/arith/partial_model.cpp @@ -12,12 +12,14 @@ using namespace CVC4::theory::arith::partial_model; void ArithPartialModel::setUpperBound(TNode x, const DeltaRational& r){ Assert(x.getMetaKind() == CVC4::kind::metakind::VARIABLE); + Debug("partial_model") << "setUpperBound(" << x << "," << r << ")" << endl; + d_UpperBoundMap[x] = r; } void ArithPartialModel::setLowerBound(TNode x, const DeltaRational& r){ Assert(x.getMetaKind() == CVC4::kind::metakind::VARIABLE); - + Debug("partial_model") << "setLowerBound(" << x << "," << r << ")" << endl; d_LowerBoundMap[x] = r; } |