From 9dac34117e241156bce877d5679255294545bf5a Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 8 Jan 2013 19:25:25 +0000 Subject: [PATCH] Avoid a compiler error with gcc 4.1. git-svn-id: https://svn.dealii.org/trunk@27976 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/base/tensor_product_polynomials_const.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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