Several bug fixes.

This commit is contained in:
krahets
2023-09-24 20:38:21 +08:00
parent e3773b7f76
commit ff8e7ceec5
19 changed files with 19 additions and 19 deletions

View File

@@ -48,7 +48,7 @@ hashMapChaining *newHashMapChaining() {
hashmap->capacity = tableSize;
hashmap->size = 0;
hashmap->extendRatio = 2;
hashmap->loadThres = 2.0 / 3;
hashmap->loadThres = 2.0 / 3.0;
return hashmap;
}