From: Niklas Fehn Date: Tue, 22 Feb 2022 15:32:41 +0000 (+0100) Subject: fix bug X-Git-Tag: v9.4.0-rc1~451^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13432%2Fhead;p=dealii.git fix bug --- diff --git a/include/deal.II/matrix_free/tensor_product_kernels.h b/include/deal.II/matrix_free/tensor_product_kernels.h index f0f48b569b..278a6d5533 100644 --- a/include/deal.II/matrix_free/tensor_product_kernels.h +++ b/include/deal.II/matrix_free/tensor_product_kernels.h @@ -487,7 +487,7 @@ namespace internal if (add) out[col * stride] += shape_values[col] * in[0]; else - out[col * stride] += shape_values[col] * in[0]; + out[col * stride] = shape_values[col] * in[0]; if (max_derivative > 0) out[col * stride] += shape_values[col + n_rows] * in[out_stride];