Commit db46fac6 authored by Dimitar Tasev's avatar Dimitar Tasev
Browse files

Re #16959 ran clang format

parent 3cf82614
......@@ -380,7 +380,7 @@ void GetEi::getPeakEstimates(double &height, int64_t &centreInd,
// then loop through all the Y values and find the tallest peak
std::accumulate(Y.begin(), Y.end(), background);
std::max(Y.begin(), Y.end(), height);
background = background / static_cast<double>(Y.size());
if (height < PEAK_THRESH_H * background) {
throw std::invalid_argument(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment