From: Timo Heister Date: Wed, 25 Feb 2015 13:18:32 +0000 (-0500) Subject: fix compiler warnings X-Git-Tag: v8.3.0-rc1~419^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed9ea5564798a6efa4291bba497cc280b72da64f;p=dealii.git fix compiler warnings that got introduced in 61a893a (#197) --- diff --git a/include/deal.II/numerics/vector_tools.templates.h b/include/deal.II/numerics/vector_tools.templates.h index 7c5f9ee516..016c834501 100644 --- a/include/deal.II/numerics/vector_tools.templates.h +++ b/include/deal.II/numerics/vector_tools.templates.h @@ -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 &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::lines_per_face; - std::vector> - associated_edge_dof_to_face_dof(lines_per_face, std::vector (degree + 1)); + std::vector > + associated_edge_dof_to_face_dof(lines_per_face, std::vector (degree + 1)); std::vector 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> normal_vector_list(fe_face_values.get_normal_vectors()); + std::vector > normal_vector_list(fe_face_values.get_normal_vectors()); // Loop to construct face linear system. for (unsigned int q_point = 0;