mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 09:34:08 +00:00
parent
f1193986c9
commit
5434f3e31d
|
@ -2653,6 +2653,9 @@ namespace polynomial {
|
|||
m_tmp_linear_ms.push_back(mk_unit());
|
||||
}
|
||||
polynomial * p = mk_polynomial(m_tmp_linear_as.size(), m_tmp_linear_as.c_ptr(), m_tmp_linear_ms.c_ptr());
|
||||
for (auto& a : m_tmp_linear_as) {
|
||||
m_manager.del(a);
|
||||
}
|
||||
m_tmp_linear_as.reset();
|
||||
m_tmp_linear_ms.reset();
|
||||
return p;
|
||||
|
|
|
@ -122,9 +122,11 @@ uint64_t u64_gcd(uint64_t u, uint64_t v) {
|
|||
}
|
||||
|
||||
|
||||
|
||||
template<bool SYNCH>
|
||||
mpz_manager<SYNCH>::mpz_manager():
|
||||
m_allocator("mpz_manager") {
|
||||
|
||||
#ifndef _MP_GMP
|
||||
if (sizeof(digit_t) == sizeof(uint64_t)) {
|
||||
// 64-bit machine
|
||||
|
|
Loading…
Reference in a new issue