From 8b8e40985b83354e7e4a503d217374eb7fbc45f0 Mon Sep 17 00:00:00 2001 From: Andrew Reynolds Date: Wed, 26 Sep 2018 22:25:35 -0500 Subject: [PATCH] Fix bug in getSymbols. (#2544) --- src/expr/node_algorithm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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& syms) { std::unordered_set visited; - getSymbols(n, syms); + getSymbols(n, syms, visited); } void getSymbols(TNode n, -- 2.30.2