HLL: Remove unnecessary comparison.

Rank always returns at least 1, hence this check is not necessary.
This commit is contained in:
Johanna Amann 2016-06-15 11:33:37 -07:00
parent 3aabe83ec6
commit b7c64c4522

View file

@ -133,9 +133,6 @@ void CardinalityCounter::AddElement(uint64_t hash)
if ( temp > buckets[index] ) if ( temp > buckets[index] )
buckets[index] = temp; buckets[index] = temp;
if ( buckets[index] == 0 )
V++;
} }
/** /**