From: Martin Kronbichler Date: Fri, 5 Apr 2024 10:31:30 +0000 (+0200) Subject: Avoid std::pow in BarycentricPolynomials X-Git-Tag: v9.6.0-rc1~405^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16855%2Fhead;p=dealii.git Avoid std::pow in BarycentricPolynomials --- diff --git a/include/deal.II/base/polynomials_barycentric.h b/include/deal.II/base/polynomials_barycentric.h index ef63e24bfb..c7ea46d406 100644 --- a/include/deal.II/base/polynomials_barycentric.h +++ b/include/deal.II/base/polynomials_barycentric.h @@ -687,7 +687,7 @@ BarycentricPolynomial::value(const Point &point) const auto temp = Number(1); for (unsigned int d = 0; d < dim + 1; ++d) - temp *= std::pow(b_point[d], indices[d]); + temp *= Utilities::pow(b_point[d], indices[d]); result += coef * temp; }