From: guido Date: Mon, 6 Mar 2000 17:23:10 +0000 (+0000) Subject: Compiler error fixed X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcea55706f053f783a7715d96caa4bec60b3b327;p=dealii-svn.git Compiler error fixed git-svn-id: https://svn.dealii.org/trunk@2555 0785d39b-7218-0410-832d-ea1e28bc413d --- 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>(); }