summaryrefslogtreecommitdiff
path: root/src/theory/sets/inference_manager.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-07-28 11:03:33 -0500
committerGitHub <noreply@github.com>2020-07-28 11:03:33 -0500
commitc38f35164adc5ab255803765a568ef820fa8f3b2 (patch)
tree6cbd4b21e8e9ff364b5b2f14467cd986ea69acf2 /src/theory/sets/inference_manager.cpp
parentb90cfb462bde3e75c07bb14e2393ee8e4b4f4d42 (diff)
Use lemma property enum for OutputChannel::lemma (#4755)
There are 3 Boolean flags for OutputChannel::lemma, and plans to add another for relevance. This makes them into a enum.
Diffstat (limited to 'src/theory/sets/inference_manager.cpp')
-rw-r--r--src/theory/sets/inference_manager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/theory/sets/inference_manager.cpp b/src/theory/sets/inference_manager.cpp
index 224eee57e..ac0a8205b 100644
--- a/src/theory/sets/inference_manager.cpp
+++ b/src/theory/sets/inference_manager.cpp
@@ -212,7 +212,9 @@ void InferenceManager::flushLemma(Node lem, bool preprocess)
}
Trace("sets-lemma-debug") << "Send lemma : " << lem << std::endl;
d_lemmas_produced.insert(lem);
- d_parent.getOutputChannel()->lemma(lem, false, preprocess);
+ LemmaProperty p =
+ preprocess ? LemmaProperty::PREPROCESS : LemmaProperty::NONE;
+ d_parent.getOutputChannel()->lemma(lem, p);
d_sentLemma = true;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback