We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c18816 commit 65fe3e7Copy full SHA for 65fe3e7
third_party/EASTL/source/hashtable.cpp
@@ -153,7 +153,7 @@ namespace eastl
153
154
auto fMinBucketCount = (nElementCount + nElementAdd) / mfMaxLoadFactor;
155
156
- if(fMinBucketCount > (float)nBucketCount)
+ if(fMinBucketCount > nBucketCount)
157
{
158
fMinBucketCount = eastl::max_alt(fMinBucketCount, mfGrowthFactor * nBucketCount);
159
const uint32_t nPrime = *eastl::lower_bound(gPrimeNumberArray, gPrimeNumberArray + kPrimeCount, (uint32_t)fMinBucketCount);
0 commit comments