mirror of
https://github.com/Z3Prover/z3
synced 2025-05-11 01:35:47 +00:00
Fix UP's decide callback (#6707)
* Query Boolean Assignment in the UP * UP's decide ref arguments => next_split * Fixed wrapper * More fixes
This commit is contained in:
parent
d59bf55539
commit
82667bd86b
18 changed files with 174 additions and 169 deletions
|
@ -2918,7 +2918,9 @@ namespace smt {
|
|||
bool context::has_split_candidate(bool_var& var, bool& is_pos) {
|
||||
if (!m_user_propagator)
|
||||
return false;
|
||||
return m_user_propagator->get_case_split(var, is_pos);
|
||||
if (!m_user_propagator->get_case_split(var, is_pos))
|
||||
return false;
|
||||
return get_assignment(var) == l_undef;
|
||||
}
|
||||
|
||||
bool context::decide_user_interference(bool_var& var, bool& is_pos) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue