From: Guido Kanschat Date: Tue, 9 Jul 2002 05:43:53 +0000 (+0000) Subject: sqrt need std:: X-Git-Tag: v8.0.0~17745 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c32d79f7dbcab290a6eb99c3d110f04ca4d82b0d;p=dealii.git sqrt need std:: git-svn-id: https://svn.dealii.org/trunk@6231 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/source/legendre.cc b/deal.II/base/source/legendre.cc index 120e85376d..1670bc8b3c 100644 --- a/deal.II/base/source/legendre.cc +++ b/deal.II/base/source/legendre.cc @@ -102,7 +102,7 @@ Legendre::compute_coefficients (const unsigned int k_) Polynomial::scale(*c0, 2.); Polynomial::shift(*c1, (long double) -1.); Polynomial::scale(*c1, 2.); - Polynomial::multiply(*c1, sqrt(3.)); + Polynomial::multiply(*c1, std::sqrt(3.)); shifted_coefficients[0]=c0; shifted_coefficients[1]=c1; } @@ -144,7 +144,7 @@ Legendre::compute_coefficients (const unsigned int k_) ck = new std::vector(*ck); shift(*ck,(long double) -1.); Polynomial::scale(*ck, 2.); - Polynomial::multiply(*ck, sqrt(2.*k+1.)); + Polynomial::multiply(*ck, std::sqrt(2.*k+1.)); shifted_coefficients[k] = ck; }; };