3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-02 17:30:23 +00:00

make bpp work with nullptr

This commit is contained in:
Nikolaj Bjorner 2021-07-12 00:03:32 +02:00
parent 4c53655be7
commit de8b2041e6
2 changed files with 5 additions and 5 deletions

View file

@ -303,7 +303,9 @@ public:
}
void display_bounded(ast * n, unsigned depth) {
if (is_app(n)) {
if (!n)
m_out << "null";
else if (is_app(n)) {
display(to_expr(n), depth);
}
else if (is_var(n)) {