We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03c0567 commit c40ee5bCopy full SHA for c40ee5b
Detectors/CTF/test/test_ctf_io_zdc.cxx
@@ -81,7 +81,7 @@ BOOST_DATA_TEST_CASE(CTFTest, boost_data::make(ANSVersions), ansVersion)
81
pedsdata[i].ir = irPed;
82
for (int ic = 0; ic < NChannels; ic++) {
83
pedsdata[i].data[ic] = gRandom->Integer(0xffff);
84
- pedsdata[i].scaler[ic] = (i > 0 ? pedsdata[i].scaler[ic - 1] : 0) + gRandom->Integer(20);
+ pedsdata[i].scaler[ic] = (ic > 0 ? pedsdata[i].scaler[ic - 1] : 0) + gRandom->Integer(20);
85
}
86
irPed.orbit++;
87
0 commit comments