mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 11:55:51 +00:00
Some UP bugfixes in the new core (#6673)
This commit is contained in:
parent
84b9204616
commit
7b513b4a40
6 changed files with 38 additions and 6 deletions
|
@ -349,6 +349,20 @@ namespace euf {
|
|||
si.uncache(literal(v, true));
|
||||
}
|
||||
|
||||
bool solver::decide(bool_var& var, lbool& phase) {
|
||||
for (auto const& th : m_solvers)
|
||||
if (th->decide(var, phase))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool solver::get_case_split(bool_var& var, lbool& phase) {
|
||||
for (auto const& th : m_solvers)
|
||||
if (th->get_case_split(var, phase))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
void solver::asserted(literal l) {
|
||||
m_relevancy.asserted(l);
|
||||
if (!m_relevancy.is_relevant(l))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue