mirror of
https://github.com/Z3Prover/z3
synced 2025-12-31 08:19:54 +00:00
make normalize optional
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
af2ef1c171
commit
c80cfb0b8e
4 changed files with 7 additions and 0 deletions
|
|
@ -508,6 +508,8 @@ namespace nlsat {
|
|||
}
|
||||
|
||||
void normalize(polynomial_ref & p) {
|
||||
if (!m_solver.lws_norm())
|
||||
return;
|
||||
unsigned level = max_var(p);
|
||||
if (find_in_Q(p, level)) return;
|
||||
TRACE(lws_norm, tout << "p:" << p << std::endl;);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue