Skip to content

Commit

Permalink
Formatter fixed and unified for Quantile and Item classes (#442)
Browse files Browse the repository at this point in the history
Signed-off-by: Milan Nikl <[email protected]>
  • Loading branch information
Draczech authored and brian-brazil committed Nov 27, 2018
1 parent d720fea commit 2d6a6e8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ public Item(double value, int lower_delta, int delta) {

@Override
public String toString() {
return String.format("%d, %d, %d", value, g, delta);
return String.format("I{val=%.3f, g=%d, del=%d}", value, g, delta);
}
}

Expand All @@ -286,7 +286,7 @@ public Quantile(double quantile, double error) {

@Override
public String toString() {
return String.format("Q{q=%.3f, eps=%.3f})", quantile, error);
return String.format("Q{q=%.3f, eps=%.3f}", quantile, error);
}
}

Expand Down

0 comments on commit 2d6a6e8

Please sign in to comment.