Merge pull request #29558 from SamSindt/fix-lifetime-reversed-CPUParticles2D
Reversed operator in SortLifetime fixing #29440
This commit is contained in:
commit
7b883d7d50
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ private:
|
|||
const Particle *particles;
|
||||
|
||||
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 a new issue