Skip to content
Permalink
Browse files
Merge pull request #108 from jacobtolar/patch-1
Fix example: update() => union()
  • Loading branch information
leerho committed Nov 30, 2021
2 parents 07a9217 + 70ca104 commit 7abd1c152d87ca93566549490e1902391ba29158
Showing 1 changed file with 2 additions and 2 deletions.
@@ -73,8 +73,8 @@ layout: doc_page
ArrayOfDoublesSketch sketch2 = ArrayOfDoublesSketches.wrapSketch(Memory.wrap(bytes2));

ArrayOfDoublesUnion union = new ArrayOfDoublesSetOperationBuilder().buildUnion();
union.update(sketch1);
union.update(sketch2);
union.union(sketch1);
union.union(sketch2);
ArrayOfDoublesSketch unionResult = union.getResult();

System.out.println("Union unique count estimate: " + unionResult.getEstimate());

0 comments on commit 7abd1c1

Please sign in to comment.