mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
do not add row with free basic vars in grobner, more tracing
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
6752463a8c
commit
0b1023c2c7
7 changed files with 30 additions and 3 deletions
|
@ -141,8 +141,10 @@ nex * common::nexvar(const rational & coeff, lpvar j, nex_creator& cn, bool fixe
|
|||
for (lpvar k : m.vars()) {
|
||||
if (fixed_as_scalars && c().var_is_fixed(k)) {
|
||||
auto & b = c().m_lar_solver.get_lower_bound(k).x;
|
||||
if (b.is_zero())
|
||||
if (b.is_zero()) {
|
||||
TRACE("nla_grobner", tout << "[" << k << "] is fixed to zero\n";);
|
||||
return nullptr;
|
||||
}
|
||||
e->coeff() *= b;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue