提交 87cc9486 编写于 作者: A antirez

Fix HyperLogLog test script for new redis-rb API.

上级 38bc8ea5
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册