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:
parent
0207878f5f
commit
26631ce38d
5 changed files with 103 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue