]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix compiler warnings 599/head
authorTimo Heister <timo.heister@gmail.com>
Wed, 25 Feb 2015 13:18:32 +0000 (08:18 -0500)
committerTimo Heister <timo.heister@gmail.com>
Wed, 25 Feb 2015 13:38:33 +0000 (08:38 -0500)
that got introduced in 61a893a (#197)

include/deal.II/numerics/vector_tools.templates.h

index 7c5f9ee516832c4b2362fd314558c2679f2c79d8..016c8345012137a6f563431c8e69941f269816a2 100644 (file)
@@ -3822,7 +3822,6 @@ namespace VectorTools
       // the DoFs corresponding to the group of components making up the vector
       // with first component first_vector_component (length dim).
       const unsigned int dim = 3;
-      const unsigned int spacedim = 3;
       const FiniteElement<dim> &fe = cell->get_fe ();
 
       // reinit for this cell, face and line.
@@ -4245,8 +4244,8 @@ namespace VectorTools
           //
           // This matches with the search done in compute_edge_projection.
           const unsigned int lines_per_face = GeometryInfo<dim>::lines_per_face;
-          std::vector<std::vector<unsigned int>>
-                                              associated_edge_dof_to_face_dof(lines_per_face, std::vector<unsigned int> (degree + 1));
+          std::vector<std::vector<unsigned int> >
+          associated_edge_dof_to_face_dof(lines_per_face, std::vector<unsigned int> (degree + 1));
           std::vector<unsigned int> associated_edge_dofs (lines_per_face);
 
           for (unsigned int line = 0; line < lines_per_face; ++line)
@@ -4333,7 +4332,7 @@ namespace VectorTools
                  cross_product_rhs;
 
           // Store all normal vectors at quad points:
-          std::vector<Point<dim>> normal_vector_list(fe_face_values.get_normal_vectors());
+          std::vector<Point<dim> > normal_vector_list(fe_face_values.get_normal_vectors());
 
           // Loop to construct face linear system.
           for (unsigned int q_point = 0;

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.