aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorelnikovss <elnikovss@yandex-team.ru>2022-02-10 16:50:57 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:57 +0300
commite213ad1e87401fd3fffeac4e064a52c1ff4893be (patch)
treed4e01c15168bf3abad3dea9b67a08905f773495a /library
parentca11887f7546c03fa3376cd513cad0be958cfb00 (diff)
downloadydb-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.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 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() {