aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/histogram
diff options
context:
space:
mode:
authorprimate <primate@yandex-team.ru>2022-02-10 16:50:30 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:30 +0300
commit1b3ecf4f5d9886fa884c00b7ff0a5d79207f9b8a (patch)
treefac989cb84a076834dd0f6db85af78ee673402b8 /library/cpp/histogram
parentf7835298a8840c8e5d98715bf23efa9c7e03b9c4 (diff)
downloadydb-1b3ecf4f5d9886fa884c00b7ff0a5d79207f9b8a.tar.gz
Restoring authorship annotation for <primate@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/histogram')
-rw-r--r--library/cpp/histogram/adaptive/adaptive_histogram.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/histogram/adaptive/adaptive_histogram.cpp b/library/cpp/histogram/adaptive/adaptive_histogram.cpp
index cbfc494021e..55d01a5d9fa 100644
--- a/library/cpp/histogram/adaptive/adaptive_histogram.cpp
+++ b/library/cpp/histogram/adaptive/adaptive_histogram.cpp
@@ -351,9 +351,9 @@ namespace NKiwiAggr {
double TAdaptiveHistogram::CalcUpperBound(double sum) {
Y_VERIFY(sum >= 0, "Sum must be >= 0");
- if (sum == 0.0) {
- return MinValue;
- }
+ if (sum == 0.0) {
+ return MinValue;
+ }
if (Empty()) {
return MaxValue;
}
@@ -392,9 +392,9 @@ namespace NKiwiAggr {
double TAdaptiveHistogram::CalcLowerBound(double sum) {
Y_VERIFY(sum >= 0, "Sum must be >= 0");
- if (sum == 0.0) {
- return MaxValue;
- }
+ if (sum == 0.0) {
+ return MaxValue;
+ }
if (Empty()) {
return MinValue;
}