mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Fix: do not update Particle::wgt_last when splitting particles.
This commit is contained in:
parent
942c3da104
commit
2b5224e006
1 changed files with 0 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue