3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-29 17:38:45 +00:00

relevancy level is queried during smt_setup, so it has to update the local parameter that tracks the min

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-11-25 09:53:00 -08:00
parent 17fb07875d
commit 055cf6c7b9
3 changed files with 10 additions and 6 deletions

View file

@ -1195,7 +1195,7 @@ namespace smt {
// Reason: when a learned clause becomes unit, it should mark the
// unit literal as relevant. When binary_clause_opt is used,
// it is not possible to distinguish between learned and non-learned clauses.
if (lemma && m_relevancy_lvl >= 2)
if (lemma && relevancy_lvl() >= 2)
return false;
if (m_base_lvl > 0)
return false;