Remove separate RNG stream for photons

This commit is contained in:
Paul Romano 2021-04-15 16:29:14 -05:00
parent 8a07feebcb
commit e0e5936b79
3 changed files with 5 additions and 13 deletions

View file

@ -117,9 +117,7 @@ void sample_neutron_reaction(Particle& p)
// Create secondary photons
if (settings::photon_transport) {
p.stream_ = STREAM_PHOTON;
sample_secondary_photons(p, i_nuclide);
p.stream_ = STREAM_TRACKING;
}
// If survival biasing is being used, the following subroutine adjusts the