From 92189515988f28597449f9ffa5c65a7410dac927 Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Sun, 10 May 2020 07:13:18 +0200 Subject: [PATCH] Fix ICC compilation --- .../matrix_free/mapping_info.templates.h | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/include/deal.II/matrix_free/mapping_info.templates.h b/include/deal.II/matrix_free/mapping_info.templates.h index 00b2f3f19f..e2a97c8b5c 100644 --- a/include/deal.II/matrix_free/mapping_info.templates.h +++ b/include/deal.II/matrix_free/mapping_info.templates.h @@ -565,15 +565,17 @@ namespace internal /** * Helper function called internally during the initialize function. */ - template + template void evaluate_on_cell(const dealii::Triangulation & tria, const std::pair *cells, const unsigned int my_q, GeometryType & cell_t_prev, - GeometryType (&cell_t)[VectorizedArrayType::size()], + GeometryType * cell_t, dealii::FEValues & fe_val, - LocalData &cell_data) + LocalData & cell_data) { const unsigned int n_q_points = fe_val.n_quadrature_points; const UpdateFlags update_flags = fe_val.get_update_flags(); @@ -845,14 +847,13 @@ namespace internal active_fe_index[cell] != active_fe_index[cell - 1]) cell_t_prev = general; - evaluate_on_cell( - tria, - &cells[cell * VectorizedArrayType::size()], - my_q, - cell_t_prev, - cell_t, - fe_val, - cell_data); + evaluate_on_cell(tria, + &cells[cell * VectorizedArrayType::size()], + my_q, + cell_t_prev, + cell_t, + fe_val, + cell_data); // now reorder the data into vectorized types. if we are here // for the first time, we need to find out whether the Jacobian -- 2.39.5