diff options
author | antirez <antirez@gmail.com> | 2018-03-16 16:34:04 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2018-03-16 16:34:04 +0100 |
commit | 87cc94864cdd27bdec0635d5dab9bd18d445c10f (patch) | |
tree | 18d7fba580a48901c5a5b6ead3fadb2350a9eca1 /utils | |
parent | 38bc8ea5317ce1a176affdcf915749ae34ef22dd (diff) | |
download | redis-87cc94864cdd27bdec0635d5dab9bd18d445c10f.tar.gz |
Fix HyperLogLog test script for new redis-rb API.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/hyperloglog/hll-err.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/hyperloglog/hll-err.rb b/utils/hyperloglog/hll-err.rb index 75bb8e424..2c71ac5ef 100644 --- a/utils/hyperloglog/hll-err.rb +++ b/utils/hyperloglog/hll-err.rb @@ -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 |