diff options
author | Kshitij Bansal <kshitij@cs.nyu.edu> | 2013-04-16 20:55:47 -0400 |
---|---|---|
committer | Kshitij Bansal <kshitij@cs.nyu.edu> | 2013-04-16 21:21:49 -0400 |
commit | 4e18e618039a4ae5a11ada2224b71d6700ec1f4c (patch) | |
tree | f307297beaf4f9cf05a2ee4216609615e27f0a24 /src | |
parent | 8bde75053b59023c2c4b911b83666d48fa6056d9 (diff) |
boolean flatten rewrite: dont re-rewrite
Diffstat (limited to 'src')
-rw-r--r-- | src/theory/booleans/theory_bool_rewriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/booleans/theory_bool_rewriter.cpp b/src/theory/booleans/theory_bool_rewriter.cpp index b8a874209..491c52eb3 100644 --- a/src/theory/booleans/theory_bool_rewriter.cpp +++ b/src/theory/booleans/theory_bool_rewriter.cpp @@ -66,7 +66,7 @@ RewriteResponse flattenNode(TNode n, TNode trivialNode, TNode skipNode) } if (nb.getNumChildren() == 0) return RewriteResponse(REWRITE_DONE, skipNode); if (nb.getNumChildren() == 1) return RewriteResponse(REWRITE_AGAIN, nb.getChild(0)); - return RewriteResponse(REWRITE_AGAIN, nb.constructNode()); + return RewriteResponse(REWRITE_DONE, nb.constructNode()); } RewriteResponse TheoryBoolRewriter::preRewrite(TNode n) { |