mirror of
https://github.com/Z3Prover/z3
synced 2025-04-21 16:16:38 +00:00
don't crash on null_literal
This commit is contained in:
parent
5bd35d764f
commit
e09636065b
|
@ -1643,6 +1643,8 @@ namespace polysat {
|
|||
}
|
||||
|
||||
std::ostream& lit_pp::display(std::ostream& out) const {
|
||||
if (lit == sat::null_literal)
|
||||
return out << "<null_literal>";
|
||||
signed_constraint const c = s.lit2cnstr(lit);
|
||||
out << lpad(5, lit) << ": " << rpad(30, c);
|
||||
if (!c)
|
||||
|
|
Loading…
Reference in a new issue