3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-14 06:45:25 +00:00

slicing bugfixes

This commit is contained in:
Jakob Rath 2023-08-03 14:53:14 +02:00
parent d42d253068
commit 1d9322b5ae
2 changed files with 64 additions and 13 deletions

View file

@ -272,6 +272,15 @@ namespace polysat {
std::ostream& display(std::ostream& out, enode* s) const;
std::ostream& display_tree(std::ostream& out, enode* s, unsigned indent, unsigned hi, unsigned lo) const;
class slice_pp {
slicing const& s;
enode* n;
public:
slice_pp(slicing const& s, enode* n): s(s), n(n) {}
std::ostream& display(std::ostream& out) const { return s.display(out, n); }
};
friend std::ostream& operator<<(std::ostream& out, slice_pp const& s) { return s.display(out); }
public:
slicing(solver& s);