Skip to content

Commit

Permalink
back to the same number of loc
Browse files Browse the repository at this point in the history
  • Loading branch information
slava77 committed Sep 3, 2020
1 parent 9f9c081 commit a11e5bf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions FWCore/Utilities/interface/RunningAverage.h
Expand Up @@ -29,8 +29,7 @@ namespace edm {

int upper() const {
auto lm = mean();
lm += (std::abs(m_buffer[0] - lm) + std::abs(m_buffer[N / 2] - lm));
return lm;
return lm + (std::abs(m_buffer[0] - lm) + std::abs(m_buffer[N / 2] - lm));
} // about 2 sigma

void update(unsigned int q) {
Expand Down

0 comments on commit a11e5bf

Please sign in to comment.