Skip to content

Commit 39bc232

Browse files
authored
Merge pull request libMesh#2716 from libMesh/pbc-neighbor-invalid-overflow
Fix possible overflow in PeriodicBoundaries::neighbor
2 parents 73592cb + 09fd517 commit 39bc232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base/periodic_boundaries.C

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ const Elem * PeriodicBoundaries::neighbor(boundary_id_type boundary_id,
113113
(e->processor_id() != mesh.processor_id()),
114114
"Periodic boundary neighbor not found");
115115
if (neigh_side)
116-
*neigh_side = DofObject::invalid_id;
116+
*neigh_side = libMesh::invalid_uint;
117117
return remote_elem;
118118
}
119119

0 commit comments

Comments
 (0)