mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Fix cardinalitycounter deserialization.
This one took me way too long to admit. Values were pushed back on deserialization - instead of assigned. Meaning they were added to the end of the already 0-assigned vector. The mean thing here is that estimation still worked - just merging resulted in 0. And estimation still was correct because m, V, alpha_m are enough for this - and those were correctly copied... With this change, all tests pass.
This commit is contained in:
parent
618f0802f4
commit
ca28b98fd4
6 changed files with 19 additions and 6 deletions
|
@ -4,6 +4,7 @@
|
|||
============ HLL
|
||||
3.000069
|
||||
3.000069
|
||||
3.000069
|
||||
============ Bloom
|
||||
0
|
||||
1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue