summaryrefslogtreecommitdiff
path: root/utils/hyperloglog
diff options
context:
space:
mode:
Diffstat (limited to 'utils/hyperloglog')
-rw-r--r--utils/hyperloglog/hll-gnuplot-graph.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/hyperloglog/hll-gnuplot-graph.rb b/utils/hyperloglog/hll-gnuplot-graph.rb
index 745baddcf..6c7596d17 100644
--- a/utils/hyperloglog/hll-gnuplot-graph.rb
+++ b/utils/hyperloglog/hll-gnuplot-graph.rb
@@ -30,7 +30,7 @@ def run_experiment(r,seed,max,step)
elements << ele
i += 1
}
- r.pfadd('hll',*elements)
+ r.pfadd('hll',elements)
approx = r.pfcount('hll')
err = approx-i
rel_err = 100.to_f*err/i