mirror of
https://github.com/valkey-io/valkey.git
synced 2026-05-06 05:26:42 -04:00
Fix HyperLogLog test script for new redis-rb API.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user