Skip to content

Commit

Permalink
init value
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSaydakov committed May 9, 2024
1 parent a986e8e commit c6b4edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theta/test/theta_sketch_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ TEST_CASE("max serialized size", "[theta_sketch]") {
auto sketch = update_theta_sketch::builder().set_lg_k(lg_k).build();
int value = 0;
for (int i = 0; i < (1 << lg_k) * 2; ++i) sketch.update(value++);
size_t max_size_bytes;
size_t max_size_bytes = 0;
for (int i = 0; i < (1 << lg_k) * 2; ++i) {
sketch.update(value++);
auto bytes = sketch.compact().serialize();
Expand Down

0 comments on commit c6b4edc

Please sign in to comment.