]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a bug where we accidentally do too much work due to a variable that hides another...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 27 Feb 2014 20:31:12 +0000 (20:31 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 27 Feb 2014 20:31:12 +0000 (20:31 +0000)
git-svn-id: https://svn.dealii.org/trunk@32574 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/fe/fe_system.cc

index 26f95e2b7f6857cb5e73a6434d7b873d4fefc966..24cc2213c5b1afb4a434edda503ea4ce32b1e121 100644 (file)
@@ -2510,7 +2510,7 @@ FESystem<dim,spacedim>::multiply_dof_numbers (
     = typename FiniteElementData<dim>::Conformity();
   {
     unsigned int index = 0;
-    for (unsigned int index=0; index<fes.size(); ++index)
+    for (index=0; index<fes.size(); ++index)
       if (multiplicities[index]>0)
         {
           total_conformity = fes[index]->conforming_space;

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.