From 0531c7ee080ec819c7a3a9c5c0b1de567d61e646 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Sat, 13 May 2023 09:50:19 +0200 Subject: [PATCH] Tensor product kernels: Use the right type in some templated functions --- include/deal.II/matrix_free/tensor_product_kernels.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/deal.II/matrix_free/tensor_product_kernels.h b/include/deal.II/matrix_free/tensor_product_kernels.h index e02030183a..989cbf1ee3 100644 --- a/include/deal.II/matrix_free/tensor_product_kernels.h +++ b/include/deal.II/matrix_free/tensor_product_kernels.h @@ -466,7 +466,7 @@ namespace internal AssertIndexRange(face_direction, dim); constexpr int in_stride = Utilities::pow(n_rows, face_direction); constexpr int out_stride = Utilities::pow(n_rows, dim - 1); - const Number *DEAL_II_RESTRICT shape_values = this->shape_values; + const Number2 *DEAL_II_RESTRICT shape_values = this->shape_values; for (int i2 = 0; i2 < n_blocks2; ++i2) { @@ -2799,7 +2799,7 @@ namespace internal n_rows))); constexpr int out_stride = n_blocks1 * n_blocks2; - const Number *DEAL_II_RESTRICT shape_values = this->shape_values; + const Number2 *DEAL_II_RESTRICT shape_values = this->shape_values; for (int i2 = 0; i2 < n_blocks2; ++i2) { -- 2.39.5