Skip to content

Commit 9d59667

Browse files
Update OpDeconvolutionAlgWienerData_tool.cc
1 parent e44b07d commit 9d59667

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

sbndcode/OpDetReco/OpDeconvolution/Alg/OpDeconvolutionAlgWienerData_tool.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,6 @@ void opdet::OpDeconvolutionAlgWiener::CorrectBaselineOscillations(std::vector<do
464464
unsigned short thisRegion = 0;
465465
unsigned short nextRegion = 1;
466466
for(nextRegion = 1; nextRegion < base.size(); ++nextRegion) if(base[nextRegion] != 0) break;
467-
if(nextRegion == base.size()) return;
468467
double nBins = (nextRegion - thisRegion) * fBaseSampleBins;
469468
double slp = (base[nextRegion] - base[thisRegion]) / nBins;
470469
for(unsigned short bin = 0; bin < wave.size(); ++bin) {

0 commit comments

Comments
 (0)