Skip to content

Commit d7dfd7a

Browse files
roystgnrjwpeterson
authored andcommitted
Fix unused variable warning with --disable-amr
1 parent 40c323b commit d7dfd7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/base/dof_map.C

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -610,11 +610,11 @@ void DofMap::reinit(MeshBase & mesh)
610610
if (!vg_description.active_on_subdomain(elem->subdomain_id()))
611611
continue;
612612

613-
const ElemType type = elem->type();
614-
615613
FEType fe_type = base_fe_type;
616614

617615
#ifdef LIBMESH_ENABLE_AMR
616+
const ElemType type = elem->type();
617+
618618
// Make sure we haven't done more p refinement than we can
619619
// handle
620620
if (elem->p_level() + base_fe_type.order >

0 commit comments

Comments
 (0)