summaryrefslogtreecommitdiff
path: root/src/theory/uf
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2019-04-17 12:42:11 -0500
committerGitHub <noreply@github.com>2019-04-17 12:42:11 -0500
commitd0c44a9e048558887ab75aaec4c493696c67b456 (patch)
treeba64a48d289a7d2cde5ff2a2e5886a4babfb441f /src/theory/uf
parent5b00f8d6804bf9f71d6169634341011f99d59b8b (diff)
More use of isClosure (#2959)
Diffstat (limited to 'src/theory/uf')
-rw-r--r--src/theory/uf/theory_uf.cpp3
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();
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback