summaryrefslogtreecommitdiff
path: root/src/theory/arith/arith_rewriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/arith/arith_rewriter.cpp')
-rw-r--r--src/theory/arith/arith_rewriter.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/theory/arith/arith_rewriter.cpp b/src/theory/arith/arith_rewriter.cpp
index 19980cd20..5c2a1e996 100644
--- a/src/theory/arith/arith_rewriter.cpp
+++ b/src/theory/arith/arith_rewriter.cpp
@@ -20,7 +20,6 @@
#include "theory/arith/arith_rewriter.h"
#include "theory/arith/arith_utilities.h"
-#include "theory/arith/normal.h"
#include <vector>
#include <set>
@@ -542,10 +541,6 @@ Kind multKind(Kind k, int sgn){
Node ArithRewriter::rewrite(TNode n){
Debug("arithrewriter") << "Trace rewrite:" << n << std::endl;
- if(n.getAttribute(IsNormal())){
- return n;
- }
-
Node res;
if(isRelationOperator(n.getKind())){
@@ -554,11 +549,6 @@ Node ArithRewriter::rewrite(TNode n){
res = rewriteTerm(n);
}
- if(n == res){
- n.setAttribute(NormalForm(), Node::null());
- }else{
- n.setAttribute(NormalForm(), res);
- }
Debug("arithrewriter") << "Trace rewrite:" << n << "|->"<< res << std::endl;
return res;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback