mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +00:00
Fix a bunch of missing class member initializations
This commit is contained in:
parent
7374688d0d
commit
3b0e8ee6f1
16 changed files with 40 additions and 41 deletions
|
@ -168,7 +168,7 @@ private:
|
|||
* error is 1.04/sqrt(m), so the actual cardinality will be the
|
||||
* estimate +/- 1.04/sqrt(m) with approximately 68% probability.
|
||||
*/
|
||||
uint64_t m;
|
||||
uint64_t m = 0;
|
||||
|
||||
/**
|
||||
* These are the actual buckets that are storing an estimate of the
|
||||
|
@ -184,9 +184,9 @@ private:
|
|||
* buckets that are 0 and this is used in the small error correction.
|
||||
* alpha_m is a multiplicative constant used in the algorithm.
|
||||
*/
|
||||
uint64_t V;
|
||||
double alpha_m;
|
||||
int p; // the log2 of m
|
||||
uint64_t V = 0;
|
||||
double alpha_m = 0.0;
|
||||
int p = 0; // the log2 of m
|
||||
};
|
||||
|
||||
} // namespace zeek::probabilistic::detail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue