summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/theory/booleans/theory_bool_rewriter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/theory/booleans/theory_bool_rewriter.cpp b/src/theory/booleans/theory_bool_rewriter.cpp
index 491c52eb3..e6b714749 100644
--- a/src/theory/booleans/theory_bool_rewriter.cpp
+++ b/src/theory/booleans/theory_bool_rewriter.cpp
@@ -57,6 +57,7 @@ RewriteResponse flattenNode(TNode n, TNode trivialNode, TNode skipNode)
} else if(child == trivialNode) {
return RewriteResponse(REWRITE_DONE, trivialNode);
} else {
+ visited.insert(child);
if(child.getKind() == k)
toProcess.push_back(child);
else
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback