Skip to content

Commit 834f881

Browse files
authored
[PWGDQ] bugfix in matching QA task (#14554)
1 parent d8cfa84 commit 834f881

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

PWGDQ/Tasks/qaMatching.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1773,6 +1773,9 @@ struct qaMatching {
17731773
collisionIds.push_back(collision.globalIndex());
17741774
}
17751775

1776+
if (collisionIds.empty())
1777+
return;
1778+
17761779
for (size_t cid = 1; cid < collisionIds.size() - 1; cid++) {
17771780
const auto& collision = collisions.rawIteratorAt(collisionIds[cid]);
17781781
int64_t collisionIndex = collision.globalIndex();

0 commit comments

Comments
 (0)