Skip to content

Commit 65fe3e7

Browse files
authored
Missed a float in there...
1 parent 0c18816 commit 65fe3e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

third_party/EASTL/source/hashtable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ namespace eastl
153153

154154
auto fMinBucketCount = (nElementCount + nElementAdd) / mfMaxLoadFactor;
155155

156-
if(fMinBucketCount > (float)nBucketCount)
156+
if(fMinBucketCount > nBucketCount)
157157
{
158158
fMinBucketCount = eastl::max_alt(fMinBucketCount, mfGrowthFactor * nBucketCount);
159159
const uint32_t nPrime = *eastl::lower_bound(gPrimeNumberArray, gPrimeNumberArray + kPrimeCount, (uint32_t)fMinBucketCount);

0 commit comments

Comments
 (0)