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=78016fd2e29632a4683cf11b43299a8c8552ccb6;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];