3
0
Fork 0
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:
Lev Nachmanson 2025-12-18 10:02:51 -10:00
parent af2ef1c171
commit c80cfb0b8e
4 changed files with 7 additions and 0 deletions

View file

@ -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;);