tisonkun commented on code in PR #722:
URL: https://github.com/apache/datasketches-java/pull/722#discussion_r2745986964


##########
src/main/java/org/apache/datasketches/cpc/CpcUnion.java:
##########
@@ -124,7 +124,7 @@ public CpcUnion(final int lgK, final long seed) {
     bitMatrix = null;
     // We begin with the accumulator holding an EMPTY_MERGED sketch object.
     // As an optimization the accumulator could start as NULL, but that would 
require changes elsewhere.
-    accumulator = new CpcSketch(lgK);
+    accumulator = new CpcSketch(lgK, seed);

Review Comment:
   Can be a bug fix.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to