]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix bug 13432/head
authorNiklas Fehn <fehn@lnm.mw.tum.de>
Tue, 22 Feb 2022 15:32:41 +0000 (16:32 +0100)
committerNiklas Fehn <fehn@lnm.mw.tum.de>
Tue, 22 Feb 2022 15:32:41 +0000 (16:32 +0100)
include/deal.II/matrix_free/tensor_product_kernels.h

index f0f48b569b2e249a177959b6356f3390678ea68f..278a6d55337e8844afa0816d0a6f8b3469e976f3 100644 (file)
@@ -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];

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.