mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Fixing bug introduced during merging.
This commit is contained in:
parent
4dcf8fc0db
commit
ef04ce809b
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ double CardinalityCounter::Size()
|
||||||
answer = (alpha_m * m * m * answer);
|
answer = (alpha_m * m * m * answer);
|
||||||
|
|
||||||
if ( answer <= 5.0 * (m/2) )
|
if ( answer <= 5.0 * (m/2) )
|
||||||
return m * log((double)(m / V));
|
return m * log(((double) m) / V);
|
||||||
|
|
||||||
else if ( answer <= (pow(2, 64) / 30) )
|
else if ( answer <= (pow(2, 64) / 30) )
|
||||||
return answer;
|
return answer;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue