Skip to content

Commit aa6d0dc

Browse files
committed
fixed printed comments
1 parent b0b382d commit aa6d0dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contents/approximate_counting/code/java/ApproximateCounting.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ static void testApproximateCount(int nTrials, int nItems, double a, double thres
6969

7070

7171
public static void main(String args[]) {
72-
System.out.println("testing 1,000, a = 30, 1% error");
72+
System.out.println("testing 1,000, a = 30, 10% error");
7373
testApproximateCount(100, 1_000, 30, 0.1);
7474

75-
System.out.println("testing 12,345, a = 10, 1% error");
75+
System.out.println("testing 12,345, a = 10, 10% error");
7676
testApproximateCount(100, 12_345, 10, 0.1);
7777

78-
System.out.println("testing 222,222, a = 0.5, 10% error");
78+
System.out.println("testing 222,222, a = 0.5, 20% error");
7979
testApproximateCount(100, 222_222, 0.5, 0.2);
8080
}
8181

0 commit comments

Comments
 (0)