summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/quantifiers_rewriter.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2019-08-14 14:07:18 -0500
committerGitHub <noreply@github.com>2019-08-14 14:07:18 -0500
commit29639a7df6ddf105803431cc85888c9416af6af6 (patch)
treede6304838c8b642b40fb243b763fd9662195cbbf /src/theory/quantifiers/quantifiers_rewriter.cpp
parentc130a81b3578898dcb5cacaf746e4dd923e2c5d6 (diff)
Update to standard implementation of getting free variables (#3175)
Diffstat (limited to 'src/theory/quantifiers/quantifiers_rewriter.cpp')
-rw-r--r--src/theory/quantifiers/quantifiers_rewriter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/theory/quantifiers/quantifiers_rewriter.cpp b/src/theory/quantifiers/quantifiers_rewriter.cpp
index 63f193557..fb21d6895 100644
--- a/src/theory/quantifiers/quantifiers_rewriter.cpp
+++ b/src/theory/quantifiers/quantifiers_rewriter.cpp
@@ -1245,9 +1245,9 @@ bool QuantifiersRewriter::getVarElimIneq(Node body,
{
// compute variables in itm->first, these are not eligible for
// elimination
- std::vector<Node> bvs;
- TermUtil::getBoundVars(m.first, bvs);
- for (TNode v : bvs)
+ std::unordered_set<Node, NodeHashFunction> fvs;
+ expr::getFreeVariables(m.first, fvs);
+ for (const Node& v : fvs)
{
Trace("var-elim-ineq-debug")
<< "...ineligible " << v
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback