Skip to content

Commit

Permalink
Fix HLL gnuplot graph generator script for new redis-rb versions.
Browse files Browse the repository at this point in the history
The PFADD now takes an array and has mandatory two arguments.
  • Loading branch information
antirez committed Dec 16, 2016
1 parent c55e3fb commit 47dea01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/hyperloglog/hll-gnuplot-graph.rb
Expand Up @@ -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
Expand Down

0 comments on commit 47dea01

Please sign in to comment.