mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 00:55:31 +00:00
fix comparison of pdds with different bit-widths
This commit is contained in:
parent
8347c043e1
commit
e3b3cd58ea
1 changed files with 2 additions and 2 deletions
|
@ -481,8 +481,8 @@ namespace dd {
|
|||
pdd subst_pdd(unsigned v, pdd const& r) const;
|
||||
|
||||
std::ostream& display(std::ostream& out) const { return m.display(out, *this); }
|
||||
bool operator==(pdd const& other) const { return root == other.root; }
|
||||
bool operator!=(pdd const& other) const { return root != other.root; }
|
||||
bool operator==(pdd const& other) const { return root == other.root && (&m == &other.m); }
|
||||
bool operator!=(pdd const& other) const { return !operator==(other); }
|
||||
unsigned hash() const { return root; }
|
||||
|
||||
unsigned power_of_2() const { return m.power_of_2(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue