mirror of
https://github.com/Z3Prover/z3
synced 2025-08-20 02:00:22 +00:00
fix a bug in nla_solver's divide
Signed-off-by: Lev <levnach@hotmail.com>
This commit is contained in:
parent
c30190f941
commit
5c0f76a702
2 changed files with 11 additions and 2 deletions
|
|
@ -1335,6 +1335,10 @@ std::ostream& lar_solver::print_left_side_of_constraint(const lar_base_constrain
|
|||
}
|
||||
|
||||
std::ostream& lar_solver::print_term(lar_term const& term, std::ostream & out) const {
|
||||
if (term.size() == 0){
|
||||
out << "0";
|
||||
return out;
|
||||
}
|
||||
bool first = true;
|
||||
for (const auto p : term) {
|
||||
mpq val = p.coeff();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue