Skip to content

Commit

Permalink
move max iterations message to LogDebug
Browse files Browse the repository at this point in the history
  • Loading branch information
emanueledimarco committed Jun 15, 2017
1 parent 83ed93d commit b256c34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RecoLocalCalo/EcalRecAlgos/src/PulseChiSqSNNLS.cc
Expand Up @@ -242,7 +242,7 @@ bool PulseChiSqSNNLS::Minimize(const SampleMatrix &samplecov, const FullSampleMa

if (iter>=_maxiters) {
if (_maxiterwarnings) {
edm::LogWarning("PulseChiSqSNNLS::Minimize") << "Max Iterations reached at iter " << iter << std::endl;
LogDebug("PulseChiSqSNNLS::Minimize") << "Max Iterations reached at iter " << iter;
}
break;
}
Expand Down Expand Up @@ -352,7 +352,7 @@ bool PulseChiSqSNNLS::NNLS() {

//worst case protection
if (iter>=500) {
edm::LogWarning("PulseChiSqSNNLS::NNLS()") << "Max Iterations reached at iter " << iter << std::endl;
LogDebug("PulseChiSqSNNLS::NNLS()") << "Max Iterations reached at iter " << iter;
break;
}

Expand Down

0 comments on commit b256c34

Please sign in to comment.