Skip to content

Commit 2873a0e

Browse files
committed
Merge remote-tracking branch 'roystgnr/fix_disable_unique_id'
2 parents ad19076 + 7ef6ea0 commit 2873a0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mesh/nemesis_io.C

+1-1
Original file line numberDiff line numberDiff line change
@@ -1173,9 +1173,9 @@ void Nemesis_IO::read (const std::string & base_filename)
11731173
// proper "ghost" neighbor information.
11741174
MeshCommunication().gather_neighboring_elements(cast_ref<DistributedMesh &>(mesh));
11751175

1176+
#ifdef LIBMESH_ENABLE_UNIQUE_ID
11761177
// We've been setting unique_ids by hand; let's make sure that later
11771178
// ones are consistent with them.
1178-
#ifdef LIBMESH_ENABLE_UNIQUE_ID
11791179
mesh.set_next_unique_id(mesh.parallel_max_unique_id()+1);
11801180
#endif
11811181
}

0 commit comments

Comments
 (0)