From: bangerth Date: Tue, 8 Jan 2013 19:25:25 +0000 (+0000) Subject: Avoid a compiler error with gcc 4.1. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dac34117e241156bce877d5679255294545bf5a;p=dealii-svn.git Avoid a compiler error with gcc 4.1. git-svn-id: https://svn.dealii.org/trunk@27976 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/base/tensor_product_polynomials_const.cc b/deal.II/source/base/tensor_product_polynomials_const.cc index 27ca3417a3..0f67c765ef 100644 --- a/deal.II/source/base/tensor_product_polynomials_const.cc +++ b/deal.II/source/base/tensor_product_polynomials_const.cc @@ -87,7 +87,7 @@ double TensorProductPolynomialsConst::compute_value (const unsigned int i, const Point &p) const { - unsigned int max_indices=pow(polynomials.size(),dim); + unsigned int max_indices = Utilities::fixed_power(polynomials.size()); Assert (i<=max_indices, ExcInternalError()); if (i