Commit 6cae609e authored by antirez's avatar antirez
Browse files

Fix HLL gnuplot graph generator script for new redis-rb versions.

The PFADD now takes an array and has mandatory two arguments.
parent 4d475e0f
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment