3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-25 12:35:59 +00:00
This commit is contained in:
Jakob Rath 2022-10-04 14:09:57 +02:00
parent 9cc9d1fac4
commit 46c69766d1
2 changed files with 7 additions and 3 deletions

View file

@ -457,7 +457,7 @@ namespace polysat {
solver const& s;
sat::literal lit;
public:
lit_pp(solver const& s, signed_constraint c): s(s), lit(c.blit()) {}
lit_pp(solver const& s, signed_constraint c): s(s), lit(c ? c.blit() : sat::null_literal) {}
lit_pp(solver const& s, sat::literal lit): s(s), lit(lit) {}
std::ostream& display(std::ostream& out) const;
};