diff options
author | Kshitij Bansal <kshitij@cs.nyu.edu> | 2013-04-17 13:30:41 -0400 |
---|---|---|
committer | Kshitij Bansal <kshitij@cs.nyu.edu> | 2013-04-17 13:30:41 -0400 |
commit | 36a101481a48151cd5d8c0fa57c55c41f2f31668 (patch) | |
tree | f669ce086c61740700d08e4657a1514ae74e2e8d /src/theory/booleans | |
parent | 4e18e618039a4ae5a11ada2224b71d6700ec1f4c (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/theory/booleans')
-rw-r--r-- | src/theory/booleans/theory_bool_rewriter.cpp | 1 |
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 |