mirror of
https://github.com/Z3Prover/z3
synced 2025-10-09 09:21:56 +00:00
code review updates, tidy pretty printer for column info
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
32028083fb
commit
1af2474f7b
3 changed files with 32 additions and 29 deletions
|
@ -618,11 +618,12 @@ public:
|
|||
inline bool column_has_term(lpvar j) const { return m_columns[j].term() != nullptr; }
|
||||
|
||||
std::ostream& print_column_info(unsigned j, std::ostream& out, bool print_expl = false) const {
|
||||
m_mpq_lar_core_solver.m_r_solver.print_column_info(j, out);
|
||||
m_mpq_lar_core_solver.m_r_solver.print_column_info(j, out, false);
|
||||
if (column_has_term(j))
|
||||
print_term_as_indices(get_term(j), out) << "\n";
|
||||
print_term_as_indices(get_term(j), out << " := ") << " ";
|
||||
out << "\n";
|
||||
if (print_expl)
|
||||
display_column_explanation(out, j);
|
||||
display_column_explanation(out, j);
|
||||
return out;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue