mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
limit the row length in horner's scheme
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
b075d3923e
commit
bf79d93d51
4 changed files with 15 additions and 2 deletions
|
@ -40,6 +40,10 @@ bool horner::row_has_monomial_to_refine(const T& row) const {
|
|||
template <typename T>
|
||||
bool horner::row_is_interesting(const T& row) const {
|
||||
TRACE("nla_solver_details", m_core->print_term(row, tout););
|
||||
if (row.size() > m_core->m_settings.horner_row_length_limit()) {
|
||||
TRACE("nla_solver_details", tout << "disregard\n";);
|
||||
return false;
|
||||
}
|
||||
SASSERT(row_has_monomial_to_refine(row));
|
||||
m_row_var_set.clear();
|
||||
for (const auto& p : row) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue