]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Move a static function to a place with better visibility.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 5 Sep 2000 12:18:47 +0000 (12:18 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 5 Sep 2000 12:18:47 +0000 (12:18 +0000)
git-svn-id: https://svn.dealii.org/trunk@3296 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 7ec6b19cbc8cbc181628156985f333f746ffea99..0abd75a8ce0b92805b14bb2bc55e51fc0c630a0c 100644 (file)
 
 
 
+static
+inline
+double sqr (const double x)
+{
+  return x*x;
+};
+
+
+
+
 #if deal_II_dimension == 1
 
 template <>
@@ -134,10 +144,6 @@ KellyErrorEstimator<dim>::Data::Data(const DoFHandler<dim>   &dof,
 #endif
 
 
-inline static double sqr (const double x) {
-  return x*x;
-};
-
 
 #if deal_II_dimension == 1
 

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.