3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 11:55:51 +00:00

fix the signs for factorns in tangent lemma

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2020-03-17 12:17:43 -07:00
parent 4c5c17c7d8
commit 146489ff14
2 changed files with 14 additions and 11 deletions

View file

@ -699,7 +699,8 @@ std::ostream & core::print_factorization(const factorization& f, std::ostream& o
}
else {
for (unsigned k = 0; k < f.size(); k++ ) {
print_factor(f[k], out);
out << "(";
print_factor(f[k], out) << ")";
if (k < f.size() - 1)
out << "*";
}