Skip to content

Commit d143a59

Browse files
authored
Merge pull request #3510 from libMesh/remove-overzealous-assertion
Remove overzealous assertion in copy_nodes_and_elements
2 parents b8b5751 + 0e9af65 commit d143a59

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/mesh/unstructured_mesh.C

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,10 +335,6 @@ void UnstructuredMesh::copy_nodes_and_elements(const MeshBase & other_mesh,
335335
bool wrap_proc_ids = (this->n_partitions() <
336336
other_mesh.n_partitions());
337337

338-
// We're assuming our subclass data needs no copy
339-
libmesh_assert_equal_to (this->is_prepared(),
340-
other_mesh.is_prepared());
341-
342338
// We're assuming the other mesh has proper element number ordering,
343339
// so that we add parents before their children, and that the other
344340
// mesh is consistently partitioned.

0 commit comments

Comments
 (0)