Skip to content

Commit

Permalink
fix typo introduced in #995 (#1013)
Browse files Browse the repository at this point in the history
  • Loading branch information
atmyers authored Jun 12, 2020
1 parent d59c1a8 commit 1d75ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/Particle/AMReX_NeighborParticlesI.H
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ NeighborParticleContainer<NStructReal, NStructInt>
ba.intersections(pbox, isects, first_only, 0);
for (const auto& isec : isects) {
const int grid = isec.first;
const int global_proc = this->ParticleDistributionMap(level)[grid];
const int global_proc = this->ParticleDistributionMap(lev)[grid];
const int proc = ParallelContext::global_to_local_rank(global_proc);
for (IntVect iv = pbox.smallEnd(); iv <= pbox.bigEnd(); pbox.next(iv))
{
Expand Down

0 comments on commit 1d75ba0

Please sign in to comment.