]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a type error. 3603/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 17 Nov 2016 03:49:54 +0000 (20:49 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 17 Nov 2016 03:49:54 +0000 (20:49 -0700)
source/dofs/dof_handler.cc

index f89263946330f7b0e0f24cbed58da0f77a892363..d97af68e5b94cfe61af91fec646e4e5086a3fcd8 100644 (file)
@@ -1017,7 +1017,7 @@ DoFHandler<dim,spacedim>::n_boundary_dofs (const std::map<types::boundary_id, co
   Assert (boundary_ids.find(numbers::internal_face_boundary_id) == boundary_ids.end(),
           ExcInvalidBoundaryIndicator());
 
-  std::set<int> boundary_dofs;
+  std::set<types::global_dof_index> boundary_dofs;
 
   const unsigned int dofs_per_face = get_fe().dofs_per_face;
   std::vector<types::global_dof_index> dofs_on_face(dofs_per_face);

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.