summaryrefslogtreecommitdiff
path: root/utils/hyperloglog/hll-err.rb
diff options
context:
space:
mode:
Diffstat (limited to 'utils/hyperloglog/hll-err.rb')
-rw-r--r--utils/hyperloglog/hll-err.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/hyperloglog/hll-err.rb b/utils/hyperloglog/hll-err.rb
index 75bb8e424..2c71ac5ef 100644
--- a/utils/hyperloglog/hll-err.rb
+++ b/utils/hyperloglog/hll-err.rb
@@ -18,7 +18,7 @@ while true do
elements << ele
i += 1
}
- r.pfadd('hll',*elements)
+ r.pfadd('hll',elements)
}
approx = r.pfcount('hll')
abs_err = (approx-i).abs