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/preprocessing | |
parent | 5b00f8d6804bf9f71d6169634341011f99d59b8b (diff) |
More use of isClosure (#2959)
Diffstat (limited to 'src/preprocessing')
-rw-r--r-- | src/preprocessing/passes/synth_rew_rules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/preprocessing/passes/synth_rew_rules.cpp b/src/preprocessing/passes/synth_rew_rules.cpp index f83cb7f31..9fb9fc9f5 100644 --- a/src/preprocessing/passes/synth_rew_rules.cpp +++ b/src/preprocessing/passes/synth_rew_rules.cpp @@ -80,7 +80,7 @@ PreprocessingPassResult SynthRewRulesPass::applyInternal( Trace("srs-input-debug") << "...preprocess " << cur << std::endl; visited[cur] = false; Kind k = cur.getKind(); - bool isQuant = k == FORALL || k == EXISTS || k == LAMBDA || k == CHOICE; + bool isQuant = cur.isClosure(); // we recurse on this node if it is not a quantified formula if (!isQuant) { |