diff options
author | elnikovss <elnikovss@yandex-team.ru> | 2022-02-10 16:50:57 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:57 +0300 |
commit | 5532ae5e5914329418d821bdad60854ab1f3222c (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/histogram | |
parent | e213ad1e87401fd3fffeac4e064a52c1ff4893be (diff) | |
download | ydb-5532ae5e5914329418d821bdad60854ab1f3222c.tar.gz |
Restoring authorship annotation for <elnikovss@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/histogram')
-rw-r--r-- | library/cpp/histogram/adaptive/histogram.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/histogram/adaptive/histogram.h b/library/cpp/histogram/adaptive/histogram.h index 23fb1306c4..360fd9a693 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() { |