diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-03-11 10:13:24 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-11 10:13:24 -0500 |
commit | 10507bb67177a1e52bdd89535c3c6d77cc62507a (patch) | |
tree | 2905771aa934b5c647569286024f8eb4e9c6b4cd /src/theory/quantifiers/single_inv_partition.cpp | |
parent | 2b355305ef635ddfaad7fe75c29221cb2f744a62 (diff) |
Fix duplicate variable issue in sygus-qe-preproc (#4013)
Diffstat (limited to 'src/theory/quantifiers/single_inv_partition.cpp')
-rw-r--r-- | src/theory/quantifiers/single_inv_partition.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/quantifiers/single_inv_partition.cpp b/src/theory/quantifiers/single_inv_partition.cpp index a0e25b756..50831fdac 100644 --- a/src/theory/quantifiers/single_inv_partition.cpp +++ b/src/theory/quantifiers/single_inv_partition.cpp @@ -346,7 +346,7 @@ bool SingleInvocationPartition::init(std::vector<Node>& funcs, d_conjuncts[2].push_back(cr); std::unordered_set<Node, NodeHashFunction> fvs; expr::getFreeVariables(cr, fvs); - d_all_vars.insert(d_all_vars.end(), fvs.begin(), fvs.end()); + d_all_vars.insert(fvs.begin(), fvs.end()); if (singleInvocation) { // replace with single invocation formulation |