mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 10:52:02 +00:00
it just works
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
8a229bf684
commit
f48fb8d3e8
5 changed files with 135 additions and 70 deletions
|
@ -304,7 +304,7 @@ namespace euf {
|
|||
egraph const& g;
|
||||
enode* n;
|
||||
b_pp(egraph const& g, enode* n) : g(g), n(n) {}
|
||||
std::ostream& display(std::ostream& out) const { return out << n->get_expr_id() << ": " << mk_bounded_pp(n->get_expr(), g.m); }
|
||||
std::ostream& display(std::ostream& out) const { return n ? (out << n->get_expr_id() << ": " << mk_bounded_pp(n->get_expr(), g.m)) : out << "null"; }
|
||||
};
|
||||
b_pp bpp(enode* n) const { return b_pp(*this, n); }
|
||||
std::ostream& display(std::ostream& out) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue