projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb5ac59
)
Fix bug in getSymbols. (#2544)
author
Andrew Reynolds
<andrew.j.reynolds@gmail.com>
Thu, 27 Sep 2018 03:25:35 +0000
(22:25 -0500)
committer
GitHub
<noreply@github.com>
Thu, 27 Sep 2018 03:25:35 +0000
(22:25 -0500)
src/expr/node_algorithm.cpp
patch
|
blob
|
history
diff --git
a/src/expr/node_algorithm.cpp
b/src/expr/node_algorithm.cpp
index 9240e4a8e1d40dc708f6165c5662c5d2ff6bacc2..4bbfb5df812b2a8388569192f87f1395798fec86 100644
(file)
--- a/
src/expr/node_algorithm.cpp
+++ b/
src/expr/node_algorithm.cpp
@@
-169,7
+169,7
@@
bool hasFreeVar(TNode n)
void getSymbols(TNode n, std::unordered_set<Node, NodeHashFunction>& syms)
{
std::unordered_set<TNode, TNodeHashFunction> visited;
- getSymbols(n, syms);
+ getSymbols(n, syms
, visited
);
}
void getSymbols(TNode n,