Skip to content

Commit

Permalink
Fix setting of p_mask when photons are not created
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgrote committed Jan 13, 2025
1 parent 180a51e commit 0808815
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,6 @@ public:

// Get a random number
amrex::ParticleReal const random_number = amrex::Random(engine);
p_mask[pair_index] = (random_number < q12);
if (random_number < q12) {

// compute weight for photon
Expand Down

0 comments on commit 0808815

Please sign in to comment.