summaryrefslogtreecommitdiff
path: root/src/preprocessing/passes
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/preprocessing/passes
parent5b00f8d6804bf9f71d6169634341011f99d59b8b (diff)
More use of isClosure (#2959)
Diffstat (limited to 'src/preprocessing/passes')
-rw-r--r--src/preprocessing/passes/synth_rew_rules.cpp2
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)
{
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback