mirror of
https://github.com/krahets/hello-algo.git
synced 2026-04-13 12:49:51 +08:00
Several bug fixes.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user