Fix HyperLogLog test script for new redis-rb API.

This commit is contained in:
antirez 2018-03-16 16:34:04 +01:00
parent 38bc8ea531
commit 87cc94864c
1 changed files with 1 additions and 1 deletions

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