summaryrefslogtreecommitdiff
path: root/src/theory/arith/arith_rewriter.cpp
diff options
context:
space:
mode:
authorDejan Jovanović <dejan.jovanovic@gmail.com>2011-07-05 16:21:50 +0000
committerDejan Jovanović <dejan.jovanovic@gmail.com>2011-07-05 16:21:50 +0000
commit7342d1ca87397f3d5beb2c04b819243303e69a7c (patch)
tree9e166f1884275be7d4b33b13b8bcfe9418e61033 /src/theory/arith/arith_rewriter.cpp
parentaf25c3f8498198dd6dd114c3b4ef39af54611e1e (diff)
updated preprocessing and rewriting input equalities into inequalities for LRA
Diffstat (limited to 'src/theory/arith/arith_rewriter.cpp')
-rw-r--r--src/theory/arith/arith_rewriter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/arith/arith_rewriter.cpp b/src/theory/arith/arith_rewriter.cpp
index bc8604e85..d2ecaffe4 100644
--- a/src/theory/arith/arith_rewriter.cpp
+++ b/src/theory/arith/arith_rewriter.cpp
@@ -234,6 +234,7 @@ RewriteResponse ArithRewriter::postRewriteAtom(TNode atom){
RewriteResponse ArithRewriter::preRewriteAtom(TNode atom){
Assert(isAtom(atom));
+
NodeManager* currNM = NodeManager::currentNM();
if(atom.getKind() == kind::EQUAL) {
@@ -244,7 +245,7 @@ RewriteResponse ArithRewriter::preRewriteAtom(TNode atom){
Node reduction = atom;
- if(atom[1].getMetaKind() != kind::metakind::CONSTANT){
+ if(atom[1].getMetaKind() != kind::metakind::CONSTANT) {
// left |><| right
TNode left = atom[0];
TNode right = atom[1];
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback