]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make parameter const to make Intel icc happier.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 19 Apr 2002 10:24:16 +0000 (10:24 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 19 Apr 2002 10:24:16 +0000 (10:24 +0000)
git-svn-id: https://svn.dealii.org/trunk@5686 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/function_lib.h
deal.II/base/source/function_lib_cutoff.cc

index 81e77418b9857c66477c8abf8c149ac1aded973d..69e9126f9f3d92381aa57a56d5c38be9a8d3508c 100644 (file)
@@ -809,7 +809,7 @@ namespace Functions
                                        * only.
                                        */
       CutOffFunctionBase (const double radius = 1.,
-                         Point<dim> = Point<dim>(),
+                         const Point<dim> = Point<dim>(),
                          const unsigned int n_components = 1,
                          const unsigned int select = no_component);
       
index 7c04aa70250c585f78ff12a107523ba1d826c0d5..8a339bdb5c01878e48a4be770bfaca52cf59ce18 100644 (file)
@@ -46,12 +46,12 @@ namespace Functions
   CutOffFunctionBase<dim>::CutOffFunctionBase (const double r,
                                               const Point<dim> p,
                                               const unsigned int n_components,
-                                              unsigned int select)
+                                              const unsigned int select)
                  :
                  Function<dim> (n_components),
-    center(p),
-    radius(r),
-    selected(select)
+                  center(p),
+                  radius(r),
+                  selected(select)
   {}
 
 

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.