]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Compiler error fixed
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 6 Mar 2000 17:11:53 +0000 (17:11 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 6 Mar 2000 17:11:53 +0000 (17:11 +0000)
git-svn-id: https://svn.dealii.org/trunk@2554 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/function_lib.cc

index e2c1518abef1330c83c0884127ab6dd8b5206121..b39adbecf11cdfe378cdc4e1ca0c059d1a18afbe 100644 (file)
@@ -410,7 +410,8 @@ LSingularityFunction::gradient (const Point<2>   &/*p*/,
 
   if ((x>=0) && (y>=0))
     {
-      static double infty[2] = {1./0., 1./0.};
+//TODO: should return infinity, but how to do that?
+      static 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.