Skip to content

Commit

Permalink
Update src/core/src/sketch/hyperloglog/estimators.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Luiz Irber <[email protected]>
  • Loading branch information
LucaCappelletti94 and luizirber authored Aug 18, 2024
1 parent 519ee16 commit 995f9b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/src/sketch/hyperloglog/estimators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ macro_rules! impl_multiplicity_integer {

impl_multiplicity_integer!(u8, u16, u32);

pub fn counts<M: MulteplicityInteger>(registers: &[CounterType], q: usize) -> Vec<M> {
pub fn counts<M: MultiplicityInteger>(registers: &[CounterType], q: usize) -> Vec<M> {
let mut counts = vec![M::ZERO; q + 2];

for k in registers {
Expand Down

0 comments on commit 995f9b5

Please sign in to comment.