diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-07-28 11:03:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-28 11:03:33 -0500 |
commit | c38f35164adc5ab255803765a568ef820fa8f3b2 (patch) | |
tree | 6cbd4b21e8e9ff364b5b2f14467cd986ea69acf2 /src/theory/sets/inference_manager.cpp | |
parent | b90cfb462bde3e75c07bb14e2393ee8e4b4f4d42 (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.cpp | 4 |
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; } |