Skip to content

Commit 875ac6b

Browse files
committed
Revert "Fix one-off index problem when copying collision contexts"
This reverts commit db55f08. Apparently it causes another problem for the last timeframe in an anchoredMC simulation. Reverting for now and taking another look.
1 parent cad3e3f commit 875ac6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DataFormats/simulation/src/DigitizationContext.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ DigitizationContext DigitizationContext::extractSingleTimeframe(int timeframeid,
708708
auto tf_ranges = timeframeindices.at(timeframeid);
709709

710710
auto startindex = std::get<0>(tf_ranges);
711-
auto endindex = std::get<1>(tf_ranges) + 1; // +1 due to endindex being "including"
711+
auto endindex = std::get<1>(tf_ranges);
712712
auto earlyindex = std::get<2>(tf_ranges);
713713

714714
if (earlyindex >= 0) {

0 commit comments

Comments
 (0)