Skip to content

Commit

Permalink
Merge pull request #108 from jacobtolar/patch-1
Browse files Browse the repository at this point in the history
Fix example: update() => union()
  • Loading branch information
leerho committed Nov 30, 2021
2 parents 07a9217 + 70ca104 commit 7abd1c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Tuple/TupleJavaExample.md
Expand Up @@ -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());
Expand Down

0 comments on commit 7abd1c1

Please sign in to comment.