]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Really only two micro-cleanups. 6053/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sat, 17 Mar 2018 01:53:29 +0000 (19:53 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sat, 17 Mar 2018 01:53:29 +0000 (19:53 -0600)
include/deal.II/fe/fe_tools.templates.h

index cb433bea45aa5193bc01bed0e6c80bce0e0a907d..5b36bc324fa16b2d5c1cc0e4a4b48b91d2c4c52b 100644 (file)
@@ -2999,7 +2999,8 @@ namespace FETools
 
   template <int dim>
   void
-  hierarchic_to_lexicographic_numbering (unsigned int degree, std::vector<unsigned int> &h2l)
+  hierarchic_to_lexicographic_numbering (const unsigned int degree,
+                                         std::vector<unsigned int> &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<unsigned int> h2l(fe.dofs_per_cell);
     hierarchic_to_lexicographic_numbering<dim> (fe.dofs_per_line+1, h2l);
-    return (h2l);
+    return h2l;
   }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.