Skip to content

Commit

Permalink
Assert our cache is still good
Browse files Browse the repository at this point in the history
  • Loading branch information
roystgnr committed Jun 21, 2024
1 parent bfc15e6 commit fc6ee94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mesh/mesh_base.C
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,8 @@ void MeshBase::change_elemset_id(elemset_id_type old_id, elemset_id_type new_id)

unsigned int MeshBase::spatial_dimension () const
{
libmesh_assert(_preparation.has_cached_elem_data);

return cast_int<unsigned int>(_spatial_dimension);
}

Expand Down

0 comments on commit fc6ee94

Please sign in to comment.