aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/histogram/adaptive
diff options
context:
space:
mode:
authoragorodilov <agorodilov@yandex-team.ru>2022-02-10 16:47:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:09 +0300
commit7a4979e6211c3e78c7f9041d4a9e5d3405343c36 (patch)
tree9e9943579e5a14679af7cd2cda3c36d8c0b775d3 /library/cpp/histogram/adaptive
parent676340c42e269f3070f194d160f42a83a10568d4 (diff)
downloadydb-7a4979e6211c3e78c7f9041d4a9e5d3405343c36.tar.gz
Restoring authorship annotation for <agorodilov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/histogram/adaptive')
-rw-r--r--library/cpp/histogram/adaptive/adaptive_histogram.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/histogram/adaptive/adaptive_histogram.cpp b/library/cpp/histogram/adaptive/adaptive_histogram.cpp
index cbfc494021..afb643e5a2 100644
--- a/library/cpp/histogram/adaptive/adaptive_histogram.cpp
+++ b/library/cpp/histogram/adaptive/adaptive_histogram.cpp
@@ -37,7 +37,7 @@ namespace NKiwiAggr {
Intervals = adaptiveHisto->Intervals;
Bins = adaptiveHisto->Bins;
BinsByQuality = adaptiveHisto->BinsByQuality;
- if (CalcQuality == nullptr) {
+ if (CalcQuality == nullptr) {
CalcQuality = adaptiveHisto->CalcQuality;
}
}
@@ -188,7 +188,7 @@ namespace NKiwiAggr {
case HT_ADAPTIVE_WARD_HISTOGRAM:
break; // ok
case HT_ADAPTIVE_HISTOGRAM:
- if (CalcQuality != nullptr)
+ if (CalcQuality != nullptr)
break; // ok
[[fallthrough]];
default: // not ok
@@ -198,7 +198,7 @@ namespace NKiwiAggr {
if (histo.FreqSize() != histo.PositionSize()) {
ythrow yexception() << "Attempt to parse TAdaptiveHistogram from THistogram protobuf record where FreqSize != PositionSize. FreqSize == " << (ui32)histo.FreqSize() << ", PositionSize == " << (ui32)histo.PositionSize();
}
- if (CalcQuality == nullptr) {
+ if (CalcQuality == nullptr) {
if (histo.GetType() == HT_ADAPTIVE_DISTANCE_HISTOGRAM) {
CalcQuality = CalcDistanceQuality;
} else if (histo.GetType() == HT_ADAPTIVE_WEIGHT_HISTOGRAM) {