3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-03-03 20:24:36 +00:00

debug grobner and improve printing

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-12-02 09:14:22 -08:00
parent 69c89426da
commit 687f30a2ce
6 changed files with 67 additions and 18 deletions

View file

@ -655,7 +655,12 @@ std::ostream & core::print_var(lpvar j, std::ostream & out) const {
m_lar_solver.print_column_info(j, out);
signed_var jr = m_evars.find(j);
out << "root=" << (jr.sign()? "-v":"v") << jr.var() << "\n";
out << "root=";
if (jr.sign()) {
out << "-";
}
out << m_lar_solver.get_variable_name(jr.var()) << "\n";
return out;
}