]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Change initializer from -1 to DoFHandler::invalid_dof_index.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 17 May 2001 12:52:07 +0000 (12:52 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 17 May 2001 12:52:07 +0000 (12:52 +0000)
git-svn-id: https://svn.dealii.org/trunk@4639 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/vectors.cc

index 672569432d6bd1b03a0748925112e721e94a88b3..eccf23ab963263256f91bc688919929ea783556b 100644 (file)
@@ -674,7 +674,8 @@ VectorTools::interpolate_boundary_values (const Mapping<dim>            &mapping
          ExcComponentMismatch());
 
                                   // field to store the indices
-  std::vector<unsigned int> face_dofs (fe.dofs_per_face, -1);
+  std::vector<unsigned int> face_dofs (fe.dofs_per_face,
+                                      DoFHandler<dim>::invalid_dof_index);
   std::vector<Point<dim> >  dof_locations (face_dofs.size(), Point<dim>());
   
                                   // array to store the values of

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.