]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix integrate linear for face path
authorMaximilian Bergbauer <maximilian.bergbauer@tum.de>
Fri, 13 Oct 2023 21:54:16 +0000 (23:54 +0200)
committerMaximilian Bergbauer <maximilian.bergbauer@tum.de>
Fri, 13 Oct 2023 21:54:16 +0000 (23:54 +0200)
include/deal.II/matrix_free/tensor_product_kernels.h

index 1c10a2043387b7c36ff092266cca8c5e309a996f..9e8f7a36642fec139e92ab97143f1b77ae094b68 100644 (file)
@@ -3122,7 +3122,7 @@ namespace internal
           {
             const Number2 test_value_y1_2 = value[1] * p[1];
             const Number2 test_value_y0_2 = value[1] - test_value_y1_2;
-            const Number2 value0_2        = p[0] * test_value_y1_2;
+            const Number2 value0_2        = p[0] * test_value_y0_2;
             const Number2 value1_2        = p[0] * test_value_y1_2;
 
             if (add)

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.