Fix HyperLogLog test script for new redis-rb API.

This commit is contained in:
antirez 2018-03-16 16:34:04 +01:00
parent e70a229a70
commit 4bbc9a5091

View File

@ -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