Skip to content

Commit 14490ef

Browse files
committed
Don't use _mesh->processor_id(); use p like I'm meant to
1 parent b7c6704 commit 14490ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base/ghost_point_neighbors.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ void GhostPointNeighbors::operator()
146146
{
147147
// Don't need to ghost RemoteElem or an element we already own or an
148148
// element we've already examined
149-
if (appn == remote_elem || appn->processor_id() == _mesh->processor_id() ||
149+
if (appn == remote_elem || appn->processor_id() == p ||
150150
periodic_elems_examined.count(appn))
151151
continue;
152152

0 commit comments

Comments
 (0)