]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make variable constant.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 11 Apr 2001 13:50:13 +0000 (13:50 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 11 Apr 2001 13:50:13 +0000 (13:50 +0000)
git-svn-id: https://svn.dealii.org/trunk@4436 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/error_estimator.cc

index a9b4152eb69e377183d48ce19591a3b0468af648..60bc50eb9e5b3232ec5f85075d223a031383c7c4 100644 (file)
@@ -326,7 +326,8 @@ void KellyErrorEstimator<1>::estimate (const Mapping<1>                    &mapp
              {
                if (n_components==1)
                  {
-                   double v = neumann_bc.find(n)->second->value(cell->vertex(0));
+                   const double
+                     v = neumann_bc.find(n)->second->value(cell->vertex(0));
                    
                    for (unsigned int s=0; s<n_solution_vectors; ++s)
                      grad_neighbor[s](0) = v;

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.