From 81fed05dde8fce5ef2bc8cfc21e9ea6ecca3e659 Mon Sep 17 00:00:00 2001 From: wolf Date: Wed, 11 Apr 2001 13:51:34 +0000 Subject: [PATCH] Fix bug. git-svn-id: https://svn.dealii.org/branches/Branch-3-1@4437 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/numerics/error_estimator.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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