From: Martin Kronbichler Date: Sat, 13 May 2023 07:50:19 +0000 (+0200) Subject: Tensor product kernels: Use the right type in some templated functions X-Git-Tag: v9.5.0-rc1~234^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15207%2Fhead;p=dealii.git Tensor product kernels: Use the right type in some templated functions --- 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) {