mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
remove m_conflict from nla_grobner
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
d0f682b239
commit
3f442ecef9
|
@ -583,7 +583,6 @@ void grobner::superpose(equation * eq1, equation * eq2) {
|
||||||
|
|
||||||
void grobner::register_report() {
|
void grobner::register_report() {
|
||||||
m_reported++;
|
m_reported++;
|
||||||
m_conflict = true;
|
|
||||||
}
|
}
|
||||||
// Let a be the greatest common divider of ab and bc,
|
// Let a be the greatest common divider of ab and bc,
|
||||||
// then ab/a is stored in b, and ac/a is stored in c
|
// then ab/a is stored in b, and ac/a is stored in c
|
||||||
|
@ -724,20 +723,17 @@ bool grobner::done() const {
|
||||||
||
|
||
|
||||||
canceled()
|
canceled()
|
||||||
||
|
||
|
||||||
m_reported > 100000
|
m_reported > 0
|
||||||
||
|
) {
|
||||||
m_conflict) {
|
|
||||||
TRACE("grobner",
|
TRACE("grobner",
|
||||||
tout << "done() is true because of ";
|
tout << "done() is true because of ";
|
||||||
if (num_of_equations() >= c().m_nla_settings.grobner_eqs_threshold()) {
|
if (num_of_equations() >= c().m_nla_settings.grobner_eqs_threshold()) {
|
||||||
tout << "m_num_of_equations = " << num_of_equations() << "\n";
|
tout << "m_num_of_equations = " << num_of_equations() << "\n";
|
||||||
} else if (canceled()) {
|
} else if (canceled()) {
|
||||||
tout << "canceled\n";
|
tout << "canceled\n";
|
||||||
} else if (m_reported > 100000) {
|
} else if (m_reported > 0) {
|
||||||
tout << "m_reported = " << m_reported;
|
tout << "m_reported = " << m_reported;
|
||||||
} else {
|
}
|
||||||
tout << "m_conflict = " << m_conflict;
|
|
||||||
}
|
|
||||||
tout << "\n";);
|
tout << "\n";);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -90,7 +90,6 @@ class grobner : common {
|
||||||
nex_lt m_lt;
|
nex_lt m_lt;
|
||||||
bool m_changed_leading_term;
|
bool m_changed_leading_term;
|
||||||
unsigned m_reported;
|
unsigned m_reported;
|
||||||
bool m_conflict;
|
|
||||||
bool m_look_for_fixed_vars_in_rows;
|
bool m_look_for_fixed_vars_in_rows;
|
||||||
public:
|
public:
|
||||||
grobner(core *, intervals *);
|
grobner(core *, intervals *);
|
||||||
|
|
Loading…
Reference in a new issue