3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 03:45:51 +00:00

add a unit test for monics, plus some cosmetic changes

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2020-03-12 18:22:53 -07:00
parent 0207878f5f
commit 26631ce38d
5 changed files with 103 additions and 6 deletions

View file

@ -586,10 +586,14 @@ public:
std::ostream& print_column_info(unsigned j, std::ostream& out) const {
m_mpq_lar_core_solver.m_r_solver.print_column_info(j, out);
if( !column_corresponds_to_term(j))
return out;
const lar_term& t = * m_terms[m_var_register.local_to_external(j) - m_terms_start_index];
print_term_as_indices(t, out) << "\n";
if (is_term(j)) {
const lar_term& t = * m_terms[j - m_terms_start_index];
print_term_as_indices(t, out) << "\n";
} else if(column_corresponds_to_term(j)) {
const lar_term& t = * m_terms[m_var_register.local_to_external(j) - m_terms_start_index];
print_term_as_indices(t, out) << "\n";
}
return out;
}