Skip to content
Permalink
Browse files
fix deprecated calls to getK() in unions
  • Loading branch information
jmalkin committed Feb 15, 2017
1 parent 4a940d8 commit c4493cc5a1ecc68ded955b61f851b42ea0c5441d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
@@ -63,7 +63,7 @@ public DataToDoublesSketch(final int k) {
super();
unionBuilder_ = DoublesUnion.builder();
if (k > 0) {
unionBuilder_.setK(k);
unionBuilder_.setMaxK(k);
}
}

@@ -297,7 +297,7 @@ public IntermediateFinal(final String kStr) {
public IntermediateFinal(final int k) {
unionBuilder_ = DoublesUnion.builder();
if (k > 0) {
unionBuilder_.setK(k);
unionBuilder_.setMaxK(k);
}
}

@@ -64,7 +64,7 @@ public UnionDoublesSketch(final int k) {
super();
unionBuilder_ = DoublesUnion.builder();
if (k > 0) {
unionBuilder_.setK(k);
unionBuilder_.setMaxK(k);
}
}

@@ -304,7 +304,7 @@ public IntermediateFinal(final String kStr) {
*/
public IntermediateFinal(final int k) {
unionBuilder_ = DoublesUnion.builder();
if (k > 0) { unionBuilder_.setK(k); }
if (k > 0) { unionBuilder_.setMaxK(k); }
}

@Override // IntermediateFinal exec

0 comments on commit c4493cc

Please sign in to comment.