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

fix build break

This commit is contained in:
Nikolaj Bjorner 2021-01-31 22:56:42 -08:00
parent 33525007ab
commit 6f346bf804
5 changed files with 28 additions and 8 deletions

View file

@ -23,13 +23,13 @@ namespace q {
std::ostream& lit::display(std::ostream& out) const {
ast_manager& m = lhs.m();
if (m.is_true(rhs) && !sign)
return out << lhs;
return out << mk_bounded_pp(lhs, m, 2);
if (m.is_false(rhs) && !sign)
return out << "(not " << lhs << ")";
return out << "(not " << mk_bounded_pp(lhs, m, 2) << ")";
return
out << mk_bounded_pp(lhs, lhs.m(), 2)
out << mk_bounded_pp(lhs, m, 2)
<< (sign ? " != " : " == ")
<< mk_bounded_pp(rhs, rhs.m(), 2);
<< mk_bounded_pp(rhs, m, 2);
}
std::ostream& clause::display(euf::solver& ctx, std::ostream& out) const {