Merge pull request #29558 from SamSindt/fix-lifetime-reversed-CPUParticles2D
Reversed operator in SortLifetime fixing #29440
This commit is contained in:
commit
7b883d7d50
@ -116,7 +116,7 @@ private:
|
|||||||
const Particle *particles;
|
const Particle *particles;
|
||||||
|
|
||||||
bool operator()(int p_a, int p_b) const {
|
bool operator()(int p_a, int p_b) const {
|
||||||
return particles[p_a].time < particles[p_b].time;
|
return particles[p_a].time > particles[p_b].time;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user