From: guido Date: Tue, 9 Jul 2002 05:43:53 +0000 (+0000) Subject: sqrt need std:: X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2075ea2b90394d044e3d472cdb6684ec31ac24d;p=dealii-svn.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; }; };