Skip to content

Commit

Permalink
oopsies
Browse files Browse the repository at this point in the history
  • Loading branch information
AstroBarker committed Mar 5, 2024
1 parent b004c4e commit e460ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/radiation/monte_carlo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ TaskStatus MonteCarloSourceParticles(MeshBlock *pmb, MeshBlockData<Real> *rc,
int dNs = v(iNs + sidx, k, j, i);
// Loop over particles to create in this zone
for (int n = 0; n < static_cast<int>(dNs); n++) {
const int m = new_particles_mask.GetNewParticleIndex(
const int m = new_particles_context.GetNewParticleIndex(
starting_index(sidx, k - kb.s, j - jb.s, i - ib.s) + n);
swarm_d.MarkParticleForRemoval(m);
}
Expand Down

0 comments on commit e460ec4

Please sign in to comment.