From 0abaca1e5dd5b137285096f365e5f6e34fc9ecc4 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Mon, 20 Aug 2018 12:51:46 +0200 Subject: [PATCH] Avoid deprecated fixed_int_power --- include/deal.II/matrix_free/operators.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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