Skip to content

Commit 87cc948

Browse files
committed
Fix HyperLogLog test script for new redis-rb API.
1 parent 38bc8ea commit 87cc948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/hyperloglog/hll-err.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
elements << ele
1919
i += 1
2020
}
21-
r.pfadd('hll',*elements)
21+
r.pfadd('hll',elements)
2222
}
2323
approx = r.pfcount('hll')
2424
abs_err = (approx-i).abs

0 commit comments

Comments
 (0)