mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 19:35:50 +00:00
Nikolaj fixes pdd_manager::reduce() to work with the changed order
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
00e1049ff2
commit
7ad95aa5d2
5 changed files with 246 additions and 207 deletions
|
@ -110,7 +110,7 @@ namespace dd {
|
|||
void solver::scoped_process::done() {
|
||||
pdd p = e->poly();
|
||||
SASSERT(!p.is_val());
|
||||
if (p.hi().is_val()) {
|
||||
if (p.degree() == 1) {
|
||||
g.push_equation(solved, e);
|
||||
}
|
||||
else {
|
||||
|
@ -462,7 +462,7 @@ namespace dd {
|
|||
VERIFY(e->idx() == i);
|
||||
++i;
|
||||
pdd p = e->poly();
|
||||
if (!p.is_val() && p.hi().is_val()) {
|
||||
if (p.degree() == 1) {
|
||||
unsigned v = p.var();
|
||||
SASSERT(!head_vars.contains(v));
|
||||
head_vars.insert(v);
|
||||
|
|
|
@ -194,6 +194,7 @@ private:
|
|||
scoped_process(solver& g, equation* e): g(g), e(e) {}
|
||||
~scoped_process();
|
||||
};
|
||||
|
||||
void update_stats_max_degree_and_size(const equation& e);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue