mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
allow adding constraints during on_model
This commit is contained in:
parent
005b8e3cf8
commit
405a26c585
5 changed files with 36 additions and 11 deletions
|
@ -3818,6 +3818,8 @@ namespace sat {
|
|||
void solver::move_to_front(bool_var b) {
|
||||
if (b >= num_vars())
|
||||
return;
|
||||
if (m_case_split_queue.empty())
|
||||
return;
|
||||
bool_var next = m_case_split_queue.min_var();
|
||||
auto next_act = m_activity[next];
|
||||
set_activity(b, next_act + 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue