mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 09:35:32 +00:00
Merge branch 'opt' of https://git01.codeplex.com/z3 into opt
This commit is contained in:
commit
9916439913
2 changed files with 26 additions and 20 deletions
|
@ -374,7 +374,7 @@ namespace hash_space {
|
|||
void resize(size_t new_size) {
|
||||
const size_t old_n = buckets.size();
|
||||
if (new_size <= old_n) return;
|
||||
const size_t n = next_prime(new_size);
|
||||
const size_t n = next_prime(static_cast<unsigned>(new_size));
|
||||
if (n <= old_n) return;
|
||||
Table tmp(n, (Entry*)(0));
|
||||
for (size_t i = 0; i < old_n; ++i) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue