summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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