]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix writing to read-only variable. (Well, work-around of cxx bug.)
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 9 Jan 2002 07:25:31 +0000 (07:25 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 9 Jan 2002 07:25:31 +0000 (07:25 +0000)
git-svn-id: https://svn.dealii.org/trunk@5361 0785d39b-7218-0410-832d-ea1e28bc413d

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

index dac5be02ae9346f19a500d0a728bdd2e692be050..636bed5422173decee38706ebda656e7489b7315 100644 (file)
@@ -1212,9 +1212,11 @@ FE_Q<dim>::base_element (const unsigned int index) const
 
 template <int dim>
 bool
-FE_Q<dim>::has_support_on_face (unsigned int shape_index,
-                                 const unsigned int face_index) const
+FE_Q<dim>::has_support_on_face (const unsigned int shape_index_,
+                               const unsigned int face_index) const
 {
+  unsigned int shape_index = shape_index_;
+    
   if (dim==1)
     return true;
   const unsigned int cell_start = (dim==2)

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.