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:
parent
17fb07875d
commit
055cf6c7b9
3 changed files with 10 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue