mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 00:26:38 +00:00
eval justifications are determined by chronological order
This commit is contained in:
parent
5b3f500900
commit
4e9db7c4d9
1 changed files with 2 additions and 2 deletions
|
@ -600,11 +600,11 @@ namespace polysat {
|
|||
enqueue_lit(other);
|
||||
}
|
||||
else if (s.m_bvars.is_evaluation(lit)) {
|
||||
unsigned const lvl = s.m_bvars.level(lit);
|
||||
unsigned const eval_idx = s.m_search.get_bool_index(lit);
|
||||
for (pvar v : s.lit2cnstr(lit).vars()) {
|
||||
if (!s.is_assigned(v))
|
||||
continue;
|
||||
if (s.get_level(v) > lvl)
|
||||
if (s.m_search.get_pvar_index(v) > eval_idx)
|
||||
continue;
|
||||
enqueue_var(v);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue