mirror of
https://github.com/Z3Prover/z3
synced 2025-05-03 13:55:47 +00:00
Api (#7097)
* rename ul_pair to column Signed-off-by: Lev Nachmanson <levnach@hotmail.com> * t Signed-off-by: Lev Nachmanson <levnach@hotmail.com> * simple test passed * remove an assert * relax an assertion * remove an obsolete function Signed-off-by: Lev Nachmanson <levnach@hotmail.com> * access a term by the term column * remove the column index from colunm.h * remove an unused method * remove debug code * fix the build of lp_tst Signed-off-by: Lev Nachmanson <levnach@hotmail.com> --------- Signed-off-by: Lev Nachmanson <levnach@hotmail.com> Co-authored-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
133546625c
commit
bdb9106f99
45 changed files with 587 additions and 973 deletions
|
@ -116,12 +116,9 @@ template <typename T>
|
|||
std::ostream& print_linear_combination_of_column_indices_only(const vector<std::pair<T, unsigned>> & coeffs, std::ostream & out) {
|
||||
return print_linear_combination_customized(
|
||||
coeffs,
|
||||
[](unsigned j) {std::stringstream ss;
|
||||
if (tv::is_term(j)) {
|
||||
ss << "t" << tv::unmask_term(j);
|
||||
} else {
|
||||
ss << "j" << j;
|
||||
}
|
||||
[](unsigned j) {
|
||||
std::stringstream ss;
|
||||
ss << "j" << j;
|
||||
return ss.str();},
|
||||
out);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue