]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make an object const
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 8 Sep 2007 01:37:44 +0000 (01:37 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 8 Sep 2007 01:37:44 +0000 (01:37 +0000)
git-svn-id: https://svn.dealii.org/trunk@15166 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_q.cc

index c27b9f5dc4b39cba3e362aa88facd60051772581..0d49d97f1b0e814b51da27d80e10bde511a07b22 100644 (file)
@@ -419,7 +419,8 @@ get_face_interpolation_matrix (const FiniteElement<dim> &x_source_fe,
       //TODO: Verify that all faces are the same with respect to
       // these support points. Furthermore, check if something has to
       // be done for the face orientation flag in 3D.
-      Point<dim> p = QProjector<dim>::project_to_face (quad_face_support, 0).point (i);
+      const Point<dim> p
+       = QProjector<dim>::project_to_face (quad_face_support, 0).point (i);
 
       for (unsigned int j=0; j<this->dofs_per_face; ++j)
        { 

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.