summaryrefslogtreecommitdiff
path: root/src/theory/arith/partial_model.cpp
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2010-05-20 22:51:48 +0000
committerTim King <taking@cs.nyu.edu>2010-05-20 22:51:48 +0000
commit5321d62fce6c747fa9d11e9df5b2ef8c4e25de21 (patch)
tree87685c6a9f32d99f09de28a02fc80378a94b6ec9 /src/theory/arith/partial_model.cpp
parentff70395fd3dcde9f68eda1c6a8bd70e6491f7458 (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.cpp4
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;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback