mirror of
https://github.com/Z3Prover/z3
synced 2025-06-21 21:33:39 +00:00
check the settings before calling grobner basis heuristic
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
a3d0372e3d
commit
b01fc9816f
1 changed files with 4 additions and 1 deletions
|
@ -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_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);
|
lbool incremental_linearization(bool);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue