mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
use u_map in lar_term
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
f5c7b9fb2f
commit
1fff7bb51d
5 changed files with 70 additions and 60 deletions
|
@ -186,8 +186,8 @@ struct gomory_test {
|
|||
|
||||
void print_term(lar_term & t, std::ostream & out) {
|
||||
vector<std::pair<mpq, unsigned>> row;
|
||||
for (auto p : t.m_coeffs)
|
||||
row.push_back(std::make_pair(p.second, p.first));
|
||||
for (auto p : t)
|
||||
row.push_back(std::make_pair(p.coeff(), p.var()));
|
||||
print_row(out, row);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue