@@ -77,7 +77,7 @@ std::vector<PRECI> GenerateBreaksFromRangeAndBins(
77
77
breaks[i] = low + i * width;
78
78
}
79
79
return breaks;
80
- };
80
+ }
81
81
/* * @brief @sa GenerateBreaksFromRangeAndBins() */
82
82
template <typename PRECI = double >
83
83
std::vector<PRECI>
@@ -86,7 +86,7 @@ GenerateBreaksFromRangeAndBins(const std::pair<PRECI, PRECI> &range_low_upper,
86
86
auto low = range_low_upper.first ;
87
87
auto upper = range_low_upper.second ;
88
88
return GenerateBreaksFromRangeAndBins<PRECI>(low, upper, bins);
89
- };
89
+ }
90
90
91
91
/* *
92
92
*
@@ -113,7 +113,7 @@ std::vector<PRECI> GenerateBreaksFromRangeAndWidth(const PRECI &low,
113
113
br += width;
114
114
}
115
115
return breaks;
116
- };
116
+ }
117
117
118
118
/* * @brief @sa GenerateBreaksFromRangeAndWidth() */
119
119
template <typename PRECI = double >
@@ -123,7 +123,7 @@ GenerateBreaksFromRangeAndWidth(const std::pair<PRECI, PRECI> &range_low_upper,
123
123
auto low = range_low_upper.first ;
124
124
auto upper = range_low_upper.second ;
125
125
return GenerateBreaksFromRangeAndWidth<PRECI>(low, upper, width);
126
- };
126
+ }
127
127
/* * @} */
128
128
129
129
/* * Exception class for Histo */
@@ -209,7 +209,7 @@ struct Histo {
209
209
bins = static_cast <decltype (bins)>(breaks.size () - 1 );
210
210
ResetCounts ();
211
211
FillCounts (data);
212
- };
212
+ }
213
213
214
214
/* *
215
215
* @brief Constructor with fixed input range.
@@ -226,7 +226,7 @@ struct Histo {
226
226
bins = static_cast <decltype (bins)>(breaks.size () - 1 );
227
227
ResetCounts ();
228
228
FillCounts (data);
229
- };
229
+ }
230
230
/* *
231
231
* @brief Constructor that accepts a vector of breaks.
232
232
* You can use @sa histo::GenerateBreaksFromRangeAndBins
@@ -245,7 +245,7 @@ struct Histo {
245
245
bins = static_cast <decltype (bins)>(breaks.size () - 1 );
246
246
ResetCounts ();
247
247
FillCounts (data);
248
- };
248
+ }
249
249
250
250
/* ******** PUBLIC METHODS ***********/
251
251
BreaksType ComputeBinCenters () const {
@@ -354,7 +354,7 @@ struct Histo {
354
354
}
355
355
356
356
return lo;
357
- };
357
+ }
358
358
359
359
/* * @brief Resize counts and reset value to zero. */
360
360
void ResetCounts () {
@@ -377,7 +377,7 @@ struct Histo {
377
377
counts[IndexFromValue (v)]++;
378
378
}
379
379
return counts;
380
- };
380
+ }
381
381
382
382
/* * \defgroup CountsManipulation Counts Safe Manipulation */
383
383
/* * @{
@@ -454,7 +454,7 @@ struct Histo {
454
454
throw histo_error (" CalculateBreaks: No Valid Method selected to "
455
455
" calculate breaks." );
456
456
}
457
- };
457
+ }
458
458
459
459
bool
460
460
CheckBreaksAreEquidistant (const BreaksType &input_breaks) const {
@@ -594,7 +594,7 @@ struct Histo {
594
594
// << breaks[bins] << std::endl; std::for_each(std::begin(breaks),
595
595
// std::end(breaks), [](const T& v) {std::cout<<v <<std::endl;});
596
596
return this ->breaks ;
597
- };
597
+ }
598
598
};
599
599
600
600
template <typename PRECI = double , typename PRECI_INTEGER = size_t >
0 commit comments