]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a completely illegible code.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 12 Oct 2005 02:09:56 +0000 (02:09 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 12 Oct 2005 02:09:56 +0000 (02:09 +0000)
git-svn-id: https://svn.dealii.org/trunk@11591 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_dgp.cc

index 6777ff08caaf7385128ac4850ef42965d2004ae1..a7c65f372795bcbb2ab2d4cb0d7fb077640bec54 100644 (file)
@@ -87,13 +87,13 @@ FE_DGP<dim>::clone() const
 
 template <int dim>
 std::vector<unsigned int>
-FE_DGP<dim>::get_dpo_vector(const unsigned int deg)
+FE_DGP<dim>::get_dpo_vector (const unsigned int deg)
 {
   std::vector<unsigned int> dpo(dim+1, 0U);
-  dpo[dim] = ++deg;
+  dpo[dim] = deg+1;
   for (unsigned int i=1;i<dim;++i)
     {
-      dpo[dim] *= deg+i;
+      dpo[dim] *= deg+1+i;
       dpo[dim] /= i+1;
     }
   return dpo;

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.