summaryrefslogtreecommitdiffstats
path: root/library/cpp/histogram/adaptive/adaptive_histogram.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'library/cpp/histogram/adaptive/adaptive_histogram.cpp')
-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 55d01a5d9fa..cbfc494021e 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;
}