summaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authorelnikovss <[email protected]>2022-02-10 16:50:57 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:50:57 +0300
commit5532ae5e5914329418d821bdad60854ab1f3222c (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp
parente213ad1e87401fd3fffeac4e064a52c1ff4893be (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/histogram/adaptive/histogram.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/histogram/adaptive/histogram.h b/library/cpp/histogram/adaptive/histogram.h
index 23fb1306c41..360fd9a6936 100644
--- a/library/cpp/histogram/adaptive/histogram.h
+++ b/library/cpp/histogram/adaptive/histogram.h
@@ -51,12 +51,12 @@ namespace NKiwiAggr {
virtual double CalcLowerBound(double sum) = 0;
virtual double CalcUpperBoundSafe(double sum) = 0;
virtual double CalcLowerBoundSafe(double sum) = 0;
- double GetValueAtPercentile(double percentile) {
- return CalcUpperBound(percentile * GetSum());
- }
- double GetValueAtPercentileSafe(double percentile) {
- return CalcUpperBoundSafe(percentile * GetSum());
- }
+ double GetValueAtPercentile(double percentile) {
+ return CalcUpperBound(percentile * GetSum());
+ }
+ double GetValueAtPercentileSafe(double percentile) {
+ return CalcUpperBoundSafe(percentile * GetSum());
+ }
// Histogram implementation is supposed to clear all precomputed values() if Add() is called after PrecomputePartialSums()
virtual void PrecomputePartialSums() {