Skip to content

Commit

Permalink
Don't use _mesh->processor_id(); use p like I'm meant to
Browse files Browse the repository at this point in the history
  • Loading branch information
lindsayad committed Oct 5, 2020
1 parent b7c6704 commit 14490ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/ghost_point_neighbors.C
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ void GhostPointNeighbors::operator()
{
// Don't need to ghost RemoteElem or an element we already own or an
// element we've already examined
if (appn == remote_elem || appn->processor_id() == _mesh->processor_id() ||
if (appn == remote_elem || appn->processor_id() == p ||
periodic_elems_examined.count(appn))
continue;

Expand Down

0 comments on commit 14490ef

Please sign in to comment.