Skip to content

Commit

Permalink
Fix IntegerSketch & DoubleSketch Ctrs.
Browse files Browse the repository at this point in the history
  • Loading branch information
leerho committed Jan 17, 2020
1 parent 51f985d commit 64358ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class DoubleSketch extends UpdatableSketch<Double, DoubleSummary> {
* @param mode The DoubleSummary mode to be used
*/
public DoubleSketch(final int lgK, final DoubleSummary.Mode mode) {
this(1 << lgK, ResizeFactor.X8.ordinal(), 1.0F, mode);
this(lgK, ResizeFactor.X8.ordinal(), 1.0F, mode);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class IntegerSketch extends UpdatableSketch<Integer, IntegerSummary> {
* @param mode The IntegerSummary mode to be used
*/
public IntegerSketch(final int lgK, final IntegerSummary.Mode mode) {
this(1 << lgK, ResizeFactor.X8.ordinal(), 1.0F, mode);
this(lgK, ResizeFactor.X8.ordinal(), 1.0F, mode);
}

/**
Expand Down

0 comments on commit 64358ff

Please sign in to comment.