From 5321d62fce6c747fa9d11e9df5b2ef8c4e25de21 Mon Sep 17 00:00:00 2001 From: Tim King Date: Thu, 20 May 2010 22:51:48 +0000 Subject: 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. --- src/theory/arith/partial_model.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/theory/arith/partial_model.cpp') 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; } -- cgit v1.2.3