summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKshitij Bansal <kshitij@cs.nyu.edu>2013-04-17 13:30:41 -0400
committerKshitij Bansal <kshitij@cs.nyu.edu>2013-04-17 13:30:41 -0400
commit36a101481a48151cd5d8c0fa57c55c41f2f31668 (patch)
treef669ce086c61740700d08e4657a1514ae74e2e8d /src
parent4e18e618039a4ae5a11ada2224b71d6700ec1f4c (diff)
boolean flatten: bug fix in dfs search
(this is not intended to (and doesn't) address the issue with NodeBuilder limit)
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