Fix: do not update Particle::wgt_last when splitting particles.

This commit is contained in:
Patrick Shriwise 2022-01-14 11:14:29 -06:00
parent 942c3da104
commit 2b5224e006

View file

@ -48,7 +48,6 @@ void apply_weight_windows(Particle& p)
// get the paramters
double weight = p.wgt();
p.wgt_last() = weight;
// first check to see if particle should be killed for weight cutoff
if (p.wgt() < weight_window.weight_cutoff) {