summaryrefslogtreecommitdiff
path: root/src/theory/arith/arith_constants.h
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2010-05-19 21:20:54 +0000
committerTim King <taking@cs.nyu.edu>2010-05-19 21:20:54 +0000
commitff70395fd3dcde9f68eda1c6a8bd70e6491f7458 (patch)
treed0cf52a5e6cb98a0aa6c15ca4c4fe4d258cb626f /src/theory/arith/arith_constants.h
parent07e1a1668a27e90563f23bcf5abb5cb7fe30da86 (diff)
Significant revision to theory/arith. The new draft has a lot of small bug fixes and organizational changes. The theory is now enabled to perform checking in the TheoryEngine. This draft can now solve 2 new regression tests test/regress/regress0/ineq_slack.smt and test/regress/regress0/ineq_basic.smt. There is also a small bug fix inside src/expr/attribute.h.
Diffstat (limited to 'src/theory/arith/arith_constants.h')
-rw-r--r--src/theory/arith/arith_constants.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/theory/arith/arith_constants.h b/src/theory/arith/arith_constants.h
index d9419cd6b..775db3ae0 100644
--- a/src/theory/arith/arith_constants.h
+++ b/src/theory/arith/arith_constants.h
@@ -3,6 +3,7 @@
#include "expr/node.h"
#include "expr/node_manager.h"
#include "util/rational.h"
+#include "theory/arith/delta_rational.h"
#ifndef __CVC4__THEORY__ARITH__ARITH_CONSTANTS_H
#define __CVC4__THEORY__ARITH__ARITH_CONSTANTS_H
@@ -17,6 +18,8 @@ public:
Rational d_ONE;
Rational d_NEGATIVE_ONE;
+ DeltaRational d_ZERO_DELTA;
+
Node d_ZERO_NODE;
Node d_ONE_NODE;
Node d_NEGATIVE_ONE_NODE;
@@ -25,6 +28,7 @@ public:
d_ZERO(0,1),
d_ONE(1,1),
d_NEGATIVE_ONE(-1,1),
+ d_ZERO_DELTA(d_ZERO),
d_ZERO_NODE(nm->mkConst(d_ZERO)),
d_ONE_NODE(nm->mkConst(d_ONE)),
d_NEGATIVE_ONE_NODE(nm->mkConst(d_NEGATIVE_ONE))
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback