We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79603fd commit 776bea0Copy full SHA for 776bea0
PWGCF/FemtoDream/Core/femtoDreamPairCleaner.h
@@ -70,7 +70,7 @@ class FemtoDreamPairCleaner
70
}
71
const auto& posChild = particles.iteratorAt(part2.index() - 2);
72
const auto& negChild = particles.iteratorAt(part2.index() - 1);
73
- if (part1.globalIndex() != posChild.globalIndex() || part1.globalIndex() != negChild.globalIndex()) {
+ if (part1.globalIndex() != posChild.childrenIds()[0] && part1.globalIndex() != negChild.childrenIds()[1]) {
74
return true;
75
76
return false;
0 commit comments