From: wolf Date: Wed, 11 Apr 2001 13:51:34 +0000 (+0000) Subject: Fix bug. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81fed05dde8fce5ef2bc8cfc21e9ea6ecca3e659;p=dealii-svn.git Fix bug. git-svn-id: https://svn.dealii.org/branches/Branch-3-1@4437 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/numerics/error_estimator.cc b/deal.II/deal.II/source/numerics/error_estimator.cc index 3241982d0a..51535c5bd8 100644 --- a/deal.II/deal.II/source/numerics/error_estimator.cc +++ b/deal.II/deal.II/source/numerics/error_estimator.cc @@ -305,8 +305,8 @@ void KellyErrorEstimator<1>::estimate (const DoFHandler<1> &dof_ { if (n_components==1) { - double v=0; - neumann_bc.find(n)->second->value(cell->vertex(0), v); + const double + v = neumann_bc.find(n)->second->value(cell->vertex(0)); for (unsigned int s=0; s