Skip to content

Commit

Permalink
fixing noise model PDF scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
mgymrek committed Mar 25, 2014
1 parent 204ad60 commit af3f4e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/NoiseModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,8 @@ void NoiseModel::FitStepProb(const map<int, map <int,int> > & step_size_by_perio
for (int j = 1; j <= period*3; j++) {
pdf_model.at(period-MIN_PERIOD).at(zero_index+j) =
pdf_model.at(period-MIN_PERIOD).at(zero_index+j)/total_mass;
pdf_model.at(period-MIN_PERIOD).at(zero_index-j) =
pdf_model.at(period-MIN_PERIOD).at(zero_index-j)/total_mass;
}
}

Expand Down

0 comments on commit af3f4e6

Please sign in to comment.