diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2019-04-17 12:42:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-17 12:42:11 -0500 |
commit | d0c44a9e048558887ab75aaec4c493696c67b456 (patch) | |
tree | ba64a48d289a7d2cde5ff2a2e5886a4babfb441f /src/theory/uf | |
parent | 5b00f8d6804bf9f71d6169634341011f99d59b8b (diff) |
More use of isClosure (#2959)
Diffstat (limited to 'src/theory/uf')
-rw-r--r-- | src/theory/uf/theory_uf.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/uf/theory_uf.cpp b/src/theory/uf/theory_uf.cpp index ddc0e1b90..508bd5002 100644 --- a/src/theory/uf/theory_uf.cpp +++ b/src/theory/uf/theory_uf.cpp @@ -455,7 +455,8 @@ void TheoryUF::ppStaticLearn(TNode n, NodeBuilder<>& learned) { while(!workList.empty()) { n = workList.back(); - if(n.getKind() == kind::FORALL || n.getKind() == kind::EXISTS) { + if (n.isClosure()) + { // unsafe to go under quantifiers; we might pull bound vars out of scope! processed.insert(n); workList.pop_back(); |