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