diff --git a/lib/lf/assemble/dofhandler.cc b/lib/lf/assemble/dofhandler.cc index cbe85b74d..e316cb2d7 100644 --- a/lib/lf/assemble/dofhandler.cc +++ b/lib/lf/assemble/dofhandler.cc @@ -230,7 +230,7 @@ void UniformFEDofHandler::initIndexArrays() { // Collect indices of interior shape functions of edges // Internal ordering may depend on the orientation of the edge, if // the check_edge_orientation_ flag is set - std::span edge_orientations = + const std::span edge_orientations = cell_p->RelativeOrientations(); auto edges = cell_p->SubEntities(1); // Loop over edges