mirror of
https://github.com/redis/redis.git
synced 2026-05-28 04:02:46 -04:00
Fix HyperLogLog test script for new redis-rb API.
This commit is contained in:
parent
38bc8ea531
commit
87cc94864c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue