3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-22 16:45:31 +00:00

check the settings before calling grobner basis heuristic

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-09-19 16:20:48 -07:00
parent a3d0372e3d
commit b01fc9816f

View file

@ -144,7 +144,10 @@ public:
bool need_to_call_horner() const { return lp_settings().stats().m_nla_calls % m_nla_settings.horner_frequency() == 0; }
bool need_to_call_grobner() const { return lp_settings().stats().m_nla_calls % m_nla_settings.grobner_frequency() == 0; }
bool need_to_call_grobner() const {
return m_nla_settings.run_grobner() &&
lp_settings().stats().m_nla_calls % m_nla_settings.grobner_frequency() == 0;
}
lbool incremental_linearization(bool);