]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
(Unrelated change while searching for MT errors)
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 24 Mar 2000 11:43:30 +0000 (11:43 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 24 Mar 2000 11:43:30 +0000 (11:43 +0000)
git-svn-id: https://svn.dealii.org/trunk@2629 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/function_lib.cc

index 3fca4699dcdf814b8a874bb2c10b7d94b6ea749c..285335921ab6d5044437ef46caee64997766b959 100644 (file)
@@ -411,7 +411,7 @@ LSingularityFunction::gradient (const Point<2>   &p,
   if ((x>=0) && (y>=0))
     {
 //TODO: should return infinity, but how to do that?
-      static double infty[2] = {0., 0.};
+      static const double infty[2] = {0., 0.};
       return Tensor<1,2>(infty);
     }
   

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.