File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -371,10 +371,10 @@ struct femtoDreamPairTaskV0V0 {
371371 continue ;
372372 }
373373 for (auto & [p1, p2] : combinations (CombinationsFullIndexPolicy (SliceV01, SliceV02))) {
374- const auto & posChild_1 = parts.iteratorAt (p1.index () - 2 );
375- const auto & negChild_1 = parts.iteratorAt (p1.index () - 1 );
376- const auto & posChild_2 = parts.iteratorAt (p2.index () - 2 );
377- const auto & negChild_2 = parts.iteratorAt (p2.index () - 1 );
374+ const auto & posChild_1 = parts.iteratorAt (p1.globalIndex () - 2 );
375+ const auto & negChild_1 = parts.iteratorAt (p1.globalIndex () - 1 );
376+ const auto & posChild_2 = parts.iteratorAt (p2.globalIndex () - 2 );
377+ const auto & negChild_2 = parts.iteratorAt (p2.globalIndex () - 1 );
378378 if (((posChild_1.cut () & V01.ChildPos_CutBit ) == V01.ChildPos_CutBit ) &&
379379 ((posChild_1.pidcut () & V01.ChildPos_TPCBit ) == V01.ChildPos_TPCBit ) &&
380380 ((negChild_1.cut () & V01.ChildNeg_CutBit ) == V01.ChildNeg_CutBit ) &&
You can’t perform that action at this time.
0 commit comments