From bcea55706f053f783a7715d96caa4bec60b3b327 Mon Sep 17 00:00:00 2001 From: guido Date: Mon, 6 Mar 2000 17:23:10 +0000 Subject: [PATCH] Compiler error fixed git-svn-id: https://svn.dealii.org/trunk@2555 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/function_lib.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deal.II/base/source/function_lib.cc b/deal.II/base/source/function_lib.cc index b39adbecf1..3fca4699dc 100644 --- a/deal.II/base/source/function_lib.cc +++ b/deal.II/base/source/function_lib.cc @@ -401,7 +401,7 @@ LSingularityFunction::laplacian_list (const vector > &points, //TODO: Implement derivatives Tensor<1,2> -LSingularityFunction::gradient (const Point<2> &/*p*/, +LSingularityFunction::gradient (const Point<2> &p, const unsigned int) const { Assert(false, ExcNotImplemented()); @@ -415,8 +415,8 @@ LSingularityFunction::gradient (const Point<2> &/*p*/, return Tensor<1,2>(infty); } - double phi = atan2(y,-x)+M_PI; - double r2 = x*x+y*y; +// double phi = atan2(y,-x)+M_PI; +// double r2 = x*x+y*y; return Tensor<1,2>(); } -- 2.39.5