Skip to content

Commit 25a75e6

Browse files
author
Niveditha Ramasubramanian
committed
fixing typos
1 parent 3f05ba6 commit 25a75e6

File tree

1 file changed

+1
-1
lines changed
  • DataFormats/Detectors/ITSMFT/common/include/DataFormatsITSMFT

1 file changed

+1
-1
lines changed

DataFormats/Detectors/ITSMFT/common/include/DataFormatsITSMFT/NoiseMap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ class NoiseMap
204204

205205
NoiseMap merge(NoiseMap* prev){
206206
int incre=0;
207-
for (size_t i = 0; i < 920; ++i) { //920 is the total number of chips in MFT
207+
for (size_t i = 0; i < (int)mNoisyPixels.size(); ++i) { //920 is the total number of chips in MFT
208208
for (const auto& prev_np : prev->mNoisyPixels[i]) { //only enters this for loop if the "i" chip exists.
209209
bool existsInCurrentMap = false;
210210
for (const auto& current_np : mNoisyPixels[i]) {

0 commit comments

Comments
 (0)