diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ int is_fts(event *ev) /* Only loop over hit PMTs with good calibrations. */ if (!ev->pmt_hits[i].hit || ev->pmt_hits[i].flags) continue; - for (j = 0; j < MAX_PMTS; j++) { + for (j = i+1; j < MAX_PMTS; j++) { /* Only loop over hit PMTs with good calibrations. */ if (i == j || !ev->pmt_hits[j].hit || ev->pmt_hits[j].flags) continue; |