From: Martin Kronbichler Date: Mon, 20 Aug 2018 10:51:46 +0000 (+0200) Subject: Avoid deprecated fixed_int_power X-Git-Tag: v9.1.0-rc1~804^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7085%2Fhead;p=dealii.git Avoid deprecated fixed_int_power --- diff --git a/include/deal.II/matrix_free/operators.h b/include/deal.II/matrix_free/operators.h index cd331f38fc..72fc4121d3 100644 --- a/include/deal.II/matrix_free/operators.h +++ b/include/deal.II/matrix_free/operators.h @@ -1046,8 +1046,7 @@ namespace MatrixFreeOperators const VectorizedArray *in_array, VectorizedArray *out_array) const { - const unsigned int dofs_per_cell = - Utilities::fixed_int_power::value; + constexpr unsigned int dofs_per_cell = Utilities::pow(fe_degree + 1, dim); internal::EvaluatorTensorProduct