mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
update hash #2579
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
1203af83eb
commit
38ad66ce17
|
@ -521,7 +521,7 @@ public:
|
||||||
|
|
||||||
static unsigned hash(mpz const & a) { return mpz_manager<SYNCH>::hash(a); }
|
static unsigned hash(mpz const & a) { return mpz_manager<SYNCH>::hash(a); }
|
||||||
|
|
||||||
static unsigned hash(mpq const & a) { return hash(a.m_num); }
|
static unsigned hash(mpq const & a) { return hash(a.m_num) + 3*hash(a.m_den); }
|
||||||
|
|
||||||
bool eq(mpz const & a, mpz const & b) { return mpz_manager<SYNCH>::eq(a, b); }
|
bool eq(mpz const & a, mpz const & b) { return mpz_manager<SYNCH>::eq(a, b); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue