From 78016fd2e29632a4683cf11b43299a8c8552ccb6 Mon Sep 17 00:00:00 2001 From: Niklas Fehn Date: Tue, 22 Feb 2022 16:32:41 +0100 Subject: [PATCH] fix bug --- include/deal.II/matrix_free/tensor_product_kernels.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.39.5