Skip to content

Commit b90e6cc

Browse files
Merge pull request #127 from apache/patch_to_fix_124
Patch to fix issue #124 in the 1.0.x release branch
2 parents 2ea221b + 87d0f91 commit b90e6cc

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tuple/tuple_sketch_int64.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ EMSCRIPTEN_BINDINGS(tuple_sketch_int64) {
169169
const auto policy = tuple_union_policy<Summary>(convert_mode(mode_str));
170170
return new tuple_union_int64(tuple_union_int64::builder(policy).set_lg_k(lg_k).set_seed(seed).build());
171171
}))
172+
.function("updateWithUpdateSketch", emscripten::optional_override([](tuple_union_int64& self, const update_tuple_sketch_int64& sketch) {
173+
self.update(sketch);
174+
}))
172175
.function("updateWithCompactSketch", emscripten::optional_override([](tuple_union_int64& self, const compact_tuple_sketch_int64& sketch) {
173176
self.update(sketch);
174177
}))

0 commit comments

Comments
 (0)