You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by al...@apache.org on 2020/02/26 21:29:14 UTC

[incubator-datasketches-java] branch cpc_union_fix created (now 17d92be)

This is an automated email from the ASF dual-hosted git repository.

alsay pushed a change to branch cpc_union_fix
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-java.git.


      at 17d92be  done after copying the input

This branch includes the following new commits:

     new 17d92be  done after copying the input

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org


[incubator-datasketches-java] 01/01: done after copying the input

Posted by al...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

alsay pushed a commit to branch cpc_union_fix
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-java.git

commit 17d92beae694b6e30db66327ed36fa6475ff96c9
Author: AlexanderSaydakov <Al...@users.noreply.github.com>
AuthorDate: Wed Feb 26 13:26:55 2020 -0800

    done after copying the input
---
 src/main/java/org/apache/datasketches/cpc/CpcUnion.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/apache/datasketches/cpc/CpcUnion.java b/src/main/java/org/apache/datasketches/cpc/CpcUnion.java
index 419507b..98cf49e 100644
--- a/src/main/java/org/apache/datasketches/cpc/CpcUnion.java
+++ b/src/main/java/org/apache/datasketches/cpc/CpcUnion.java
@@ -301,6 +301,7 @@ public class CpcUnion {
         if ((union.accumulator.getFlavor() == EMPTY) //lgtm [java/dereferenced-value-may-be-null]
             && (union.lgK == source.lgK)) {
           union.accumulator = source.copy();
+          break;
         }
         walkTableUpdatingSketch(union.accumulator, source.pairTable);
         // if the accumulator has graduated beyond sparse, switch union to a bitMatrix


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org