mirror of
https://github.com/Z3Prover/z3
synced 2025-10-22 15:34:35 +00:00
restore the method behavior
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
1921260c42
commit
a179286183
1 changed files with 2 additions and 3 deletions
|
@ -1245,8 +1245,6 @@ namespace nlsat {
|
||||||
// Remark: after vanishing coefficients are eliminated, ps may not contain max_x anymore
|
// Remark: after vanishing coefficients are eliminated, ps may not contain max_x anymore
|
||||||
|
|
||||||
polynomial_ref_vector samples(m_pm);
|
polynomial_ref_vector samples(m_pm);
|
||||||
|
|
||||||
|
|
||||||
if (x < max_x)
|
if (x < max_x)
|
||||||
cac_add_cell_lits(ps, x, samples);
|
cac_add_cell_lits(ps, x, samples);
|
||||||
|
|
||||||
|
@ -1257,7 +1255,8 @@ namespace nlsat {
|
||||||
}
|
}
|
||||||
TRACE(nlsat_explain, tout << "project loop, processing var "; display_var(tout, x); tout << "\npolynomials\n";
|
TRACE(nlsat_explain, tout << "project loop, processing var "; display_var(tout, x); tout << "\npolynomials\n";
|
||||||
display(tout, ps); tout << "\n";);
|
display(tout, ps); tout << "\n";);
|
||||||
if (first) {
|
if (first) { // The first run is special because x is not constrained by the sample, we cannot surround it by the root functions.
|
||||||
|
// we make the polynomials in ps delinable
|
||||||
add_lcs(ps, x);
|
add_lcs(ps, x);
|
||||||
psc_discriminant(ps, x);
|
psc_discriminant(ps, x);
|
||||||
psc_resultant(ps, x);
|
psc_resultant(ps, x);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue