From: Wolfgang Bangerth Date: Mon, 10 Mar 2003 15:20:46 +0000 (+0000) Subject: Fix the obvious. X-Git-Tag: v8.0.0~16794 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37562958c734eafc81395c2927f1ca2d1f941969;p=dealii.git Fix the obvious. git-svn-id: https://svn.dealii.org/trunk@7291 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 7b5a9293f2..51fe74f0c8 100644 --- a/deal.II/deal.II/source/numerics/error_estimator.cc +++ b/deal.II/deal.II/source/numerics/error_estimator.cc @@ -33,13 +33,11 @@ -namespace +static +inline +double sqr (const double x) { - inline - double sqr (const double x) - { - return x*x; - } + return x*x; }