This is an automated email from the ASF dual-hosted git repository. alsay pushed a commit to branch check_cpp_files in repository https://gitbox.apache.org/repos/asf/datasketches-java.git
commit 1dba26690307e60b66be87f845f283677cf2deee Author: AlexanderSaydakov <[email protected]> AuthorDate: Wed Aug 30 21:23:54 2023 -0700 corrected comment --- .../org/apache/datasketches/sampling/VarOptCrossLanguageTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/datasketches/sampling/VarOptCrossLanguageTest.java b/src/test/java/org/apache/datasketches/sampling/VarOptCrossLanguageTest.java index 0826e1da..a603130c 100644 --- a/src/test/java/org/apache/datasketches/sampling/VarOptCrossLanguageTest.java +++ b/src/test/java/org/apache/datasketches/sampling/VarOptCrossLanguageTest.java @@ -69,7 +69,7 @@ public class VarOptCrossLanguageTest { for (long i = 0; i < 2000; ++i) { sketch.update(i, 1.0); } - // heavy items have negative weights to allow a simple predicate to filter + // negative heavy items to allow a simple predicate to filter sketch.update(-1L, 100000.0); sketch.update(-2L, 110000.0); sketch.update(-3L, 120000.0); @@ -89,7 +89,7 @@ public class VarOptCrossLanguageTest { for (int i = 0; i < n1; ++i) { sketch.update(1.0 * i, 1.0); } - sketch.update(-1.0, n1 * n1); // heavy items have negative weights to allow a simple predicate to filter + sketch.update(-1.0, n1 * n1); // negative heavy item to allow a simple predicate to filter final VarOptItemsUnion<Double> union = VarOptItemsUnion.newInstance(kMax); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
