]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Change index k to const for gen_supp_pts
authorGraham Harper <grahambenharper@gmail.com>
Thu, 26 Jul 2018 22:53:09 +0000 (22:53 +0000)
committerGraham Harper <grahambenharper@gmail.com>
Thu, 26 Jul 2018 22:53:09 +0000 (22:53 +0000)
source/fe/fe_bernardi_raugel.cc

index 9abc4fb38f68f59ce709e00c360b047c1bf67223..0117fde5af2a5d3785fd43c4b2ce0c7fdee7ef73 100644 (file)
@@ -169,7 +169,7 @@ FE_BernardiRaugel<dim>::initialize_support_points()
             p[2] = 0.5;
           p[i] = j;
 
-          unsigned int k =
+          const unsigned int k =
             dim * GeometryInfo<dim>::vertices_per_cell + i * 2 + j;
           this->generalized_support_points[k] = p;
         }

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.