From: Wolfgang Bangerth Date: Sat, 17 Mar 2018 01:53:29 +0000 (-0600) Subject: Really only two micro-cleanups. X-Git-Tag: v9.0.0-rc1~321^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F6053%2Fhead;p=dealii.git Really only two micro-cleanups. --- diff --git a/include/deal.II/fe/fe_tools.templates.h b/include/deal.II/fe/fe_tools.templates.h index cb433bea45..5b36bc324f 100644 --- a/include/deal.II/fe/fe_tools.templates.h +++ b/include/deal.II/fe/fe_tools.templates.h @@ -2999,7 +2999,8 @@ namespace FETools template void - hierarchic_to_lexicographic_numbering (unsigned int degree, std::vector &h2l) + hierarchic_to_lexicographic_numbering (const unsigned int degree, + std::vector &h2l) { // number of support points in each direction const unsigned int n = degree+1; @@ -3181,7 +3182,7 @@ namespace FETools Assert (fe.n_components() == 1, ExcInvalidFE()); std::vector h2l(fe.dofs_per_cell); hierarchic_to_lexicographic_numbering (fe.dofs_per_line+1, h2l); - return (h2l); + return h2l; }