This is an automated email from the ASF dual-hosted git repository.
frossi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datasketches-rust.git
The following commit(s) were added to refs/heads/main by this push:
new bd0e8b5 Made update_with_coupon public. (#113)
bd0e8b5 is described below
commit bd0e8b5f5616b6c78d3b82a9098d53714a575c51
Author: Paul Masurel <[email protected]>
AuthorDate: Fri Apr 10 16:12:36 2026 +0200
Made update_with_coupon public. (#113)
---
datasketches/src/hll/sketch.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/datasketches/src/hll/sketch.rs b/datasketches/src/hll/sketch.rs
index 9e9c5a1..58c5372 100644
--- a/datasketches/src/hll/sketch.rs
+++ b/datasketches/src/hll/sketch.rs
@@ -178,7 +178,7 @@ impl HllSketch {
/// Update the sketch with a raw coupon value
///
/// Maintains all sketch invariants including mode transitions and
estimator updates.
- pub(super) fn update_with_coupon(&mut self, coupon: u32) {
+ pub fn update_with_coupon(&mut self, coupon: u32) {
match &mut self.mode {
Mode::List { list, hll_type } => {
list.update(coupon);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]