mirror of
https://github.com/Z3Prover/z3
synced 2025-07-24 13:18:55 +00:00
pretty printing for lp
This commit is contained in:
parent
ef284cca5d
commit
16452fec43
2 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ public:
|
|||
if (val == -numeric_traits<T>::one())
|
||||
out << " - ";
|
||||
else if (val != numeric_traits<T>::one())
|
||||
out << val;
|
||||
out << val << "*";
|
||||
|
||||
out << get_variable_name(it.second);
|
||||
}
|
||||
|
|
|
@ -118,7 +118,7 @@ std::ostream& print_linear_combination_customized(const vector<std::pair<T, unsi
|
|||
}
|
||||
}
|
||||
if (val != 1) {
|
||||
out << T_to_string(val);
|
||||
out << T_to_string(val) << "*";
|
||||
}
|
||||
out << var_str(it.second);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue