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 | e213ad1e87401fd3fffeac4e064a52c1ff4893be (patch) | |
tree | d4e01c15168bf3abad3dea9b67a08905f773495a /library | |
parent | ca11887f7546c03fa3376cd513cad0be958cfb00 (diff) | |
download | ydb-e213ad1e87401fd3fffeac4e064a52c1ff4893be.tar.gz |
Restoring authorship annotation for <elnikovss@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library')
-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 360fd9a693..23fb1306c4 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() { |