mirror of
https://github.com/Z3Prover/z3
synced 2025-06-17 11:26:17 +00:00
Co-authored-by: Johannes Schoisswohl <johannes.schoisswohl@myotis.at>
This commit is contained in:
parent
ff265235c1
commit
03287d65a4
1 changed files with 1 additions and 1 deletions
|
@ -1842,7 +1842,7 @@ std::string mpz_manager<SYNCH>::to_string(mpz const & a) const {
|
||||||
template<bool SYNCH>
|
template<bool SYNCH>
|
||||||
unsigned mpz_manager<SYNCH>::hash(mpz const & a) {
|
unsigned mpz_manager<SYNCH>::hash(mpz const & a) {
|
||||||
if (is_small(a))
|
if (is_small(a))
|
||||||
return a.m_val;
|
return ::abs(a.m_val);
|
||||||
#ifndef _MP_GMP
|
#ifndef _MP_GMP
|
||||||
unsigned sz = size(a);
|
unsigned sz = size(a);
|
||||||
if (sz == 1)
|
if (sz == 1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue