From 2b5224e006e34f85871fadceb86ab9faeec4d93f Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Fri, 14 Jan 2022 11:14:29 -0600 Subject: [PATCH] Fix: do not update Particle::wgt_last when splitting particles. --- src/weight_windows.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/weight_windows.cpp b/src/weight_windows.cpp index b62725d287..885e2733bd 100644 --- a/src/weight_windows.cpp +++ b/src/weight_windows.cpp @@ -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) {