]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make a few variables const.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Feb 2008 23:27:34 +0000 (23:27 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Feb 2008 23:27:34 +0000 (23:27 +0000)
git-svn-id: https://svn.dealii.org/trunk@15723 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/mapping_q_eulerian.cc

index 35e2901cd75593c6b1f8500cf7f754a650654699..2a53da39738a61dfde8ba6727007cd5003f644e8 100644 (file)
@@ -58,8 +58,8 @@ SupportQuadrature (const unsigned int map_degree)
                                   // on the unit cell in lexicographic order.
                                   // for this purpose we can use an interated
                                   // trapezoidal quadrature rule.
-  QTrapez<1> q1d;
-  QIterated<dim> q_iterated(q1d,map_degree);
+  const QTrapez<1> q1d;
+  const QIterated<dim> q_iterated(q1d,map_degree);
   const unsigned int n_q_points = q_iterated.n_quadrature_points;
 
                                   // we then need to define a renumbering 

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.