From 5806477cab2e0b25aba455ef0c6eee6c8809b36c Mon Sep 17 00:00:00 2001 From: guido Date: Mon, 6 Mar 2000 17:11:53 +0000 Subject: [PATCH] Compiler error fixed git-svn-id: https://svn.dealii.org/trunk@2554 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/function_lib.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deal.II/base/source/function_lib.cc b/deal.II/base/source/function_lib.cc index e2c1518abe..b39adbecf1 100644 --- a/deal.II/base/source/function_lib.cc +++ b/deal.II/base/source/function_lib.cc @@ -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); } -- 2.39.5