]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix really serious problem. (non-compilable)
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 15 Jul 1999 12:16:36 +0000 (12:16 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 15 Jul 1999 12:16:36 +0000 (12:16 +0000)
git-svn-id: https://svn.dealii.org/trunk@1580 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/dofs/dof_tools.cc

index bbcfc4d2d9241fdc691a9dbaf60a284e4daf16f8..69f3a1099634531a657c87b5a640a7ff890fd989 100644 (file)
@@ -32,8 +32,7 @@ DoFTools::extract_dofs(const DoFHandler<dim> &dof,
       c->get_dof_indices(indices);
       for (unsigned int i=0;i<fe.total_dofs;++i)
        {
-         const pair<unsigned int, unsigned int> component
-           = fe.system_to_component_index(i).first;
+         const unsigned int component = fe.system_to_component_index(i).first;
 
          if (local_select[component] == true)
            selected_dofs[indices[i]] = true;
@@ -64,8 +63,7 @@ DoFTools::extract_level_dofs(const unsigned int       level,
       c->get_mg_dof_indices(indices);
       for (unsigned int i=0;i<fe.total_dofs;++i)
        {
-         const pair<unsigned int, unsigned int> component
-           = fe.system_to_component_index(i).first;
+         const unsigned int component = fe.system_to_component_index(i).first;
          if (local_select[component]  == true)
            selected_dofs[indices[i]] = true;
        }

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.