fix photon analog tally: do not zero out p->wgt_last_ before tallying

This commit is contained in:
liangjg 2019-03-28 17:03:06 -04:00
parent 8e7bf4b186
commit f6ace6ece7

View file

@ -56,7 +56,6 @@ void collision(Particle* p)
if (p->E_ < settings::energy_cutoff[type]) {
p->alive_ = false;
p->wgt_ = 0.0;
p->wgt_last_ = 0.0;
}
// Display information about collision