summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKshitij Bansal <kshitij@cs.nyu.edu>2013-04-16 20:55:47 -0400
committerKshitij Bansal <kshitij@cs.nyu.edu>2013-04-16 21:21:49 -0400
commit4e18e618039a4ae5a11ada2224b71d6700ec1f4c (patch)
treef307297beaf4f9cf05a2ee4216609615e27f0a24
parent8bde75053b59023c2c4b911b83666d48fa6056d9 (diff)
boolean flatten rewrite: dont re-rewrite
-rw-r--r--src/theory/booleans/theory_bool_rewriter.cpp2
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) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback