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/theory_engine.cpp | |
parent | 5b00f8d6804bf9f71d6169634341011f99d59b8b (diff) |
More use of isClosure (#2959)
Diffstat (limited to 'src/theory/theory_engine.cpp')
-rw-r--r-- | src/theory/theory_engine.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/theory/theory_engine.cpp b/src/theory/theory_engine.cpp index dceeeae7a..78db1718e 100644 --- a/src/theory/theory_engine.cpp +++ b/src/theory/theory_engine.cpp @@ -1061,9 +1061,7 @@ Node TheoryEngine::ppTheoryRewrite(TNode term) { Node newTerm; // do not rewrite inside quantifiers - if (term.getKind() == kind::FORALL || term.getKind() == kind::EXISTS - || term.getKind() == kind::CHOICE - || term.getKind() == kind::LAMBDA) + if (term.isClosure()) { newTerm = Rewriter::rewrite(term); } |