mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
don't crash on null_literal
This commit is contained in:
parent
5bd35d764f
commit
e09636065b
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue