summaryrefslogtreecommitdiff
path: root/src/expr/node_algorithm.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-09-26 22:25:35 -0500
committerGitHub <noreply@github.com>2018-09-26 22:25:35 -0500
commit8b8e40985b83354e7e4a503d217374eb7fbc45f0 (patch)
tree203d3136bb65839a612d48f9f840d1000d63b378 /src/expr/node_algorithm.cpp
parentcb5ac59af1836486b8ccfdb1c44390de9a8c80d8 (diff)
Fix bug in getSymbols. (#2544)
Diffstat (limited to 'src/expr/node_algorithm.cpp')
-rw-r--r--src/expr/node_algorithm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr/node_algorithm.cpp b/src/expr/node_algorithm.cpp
index 9240e4a8e..4bbfb5df8 100644
--- 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,
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback