summaryrefslogtreecommitdiff
path: root/src/preprocessing/passes/synth_rew_rules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/preprocessing/passes/synth_rew_rules.cpp')
-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