Skip to content

Commit aa5a78a

Browse files
DOC-5227 fixed incorrect percentages
1 parent c6d91ea commit aa5a78a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/develop/clients/jedis/prob.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ a Count-min sketch object, add data to it, and then query it.
226226
< /clients-example >}}-->
227227
```java
228228
// Specify that you want to keep the counts within 0.01
229-
// (0.1%) of the true value with a 0.005 (0.05%) chance
229+
// (1%) of the true value with a 0.005 (0.5%) chance
230230
// of going outside this limit.
231231
String res16 = jedis.cmsInitByProb("items_sold", 0.01, 0.005);
232232
System.out.println(res16); // >>> OK

content/develop/clients/redis-py/prob.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ sketch commands.
222222

223223
```py
224224
# Specify that you want to keep the counts within 0.01
225-
# (0.1%) of the true value with a 0.005 (0.05%) chance
225+
# (1%) of the true value with a 0.005 (0.5%) chance
226226
# of going outside this limit.
227227
res16 = r.cms().initbyprob("items_sold", 0.01, 0.005)
228228
print(res16) # >>> True

0 commit comments

Comments
 (0)