]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix uninitialized warning 16018/head
authorMaximilian Bergbauer <maximilian.bergbauer@tum.de>
Wed, 20 Sep 2023 08:06:09 +0000 (10:06 +0200)
committerMaximilian Bergbauer <maximilian.bergbauer@tum.de>
Wed, 20 Sep 2023 08:06:09 +0000 (10:06 +0200)
include/deal.II/matrix_free/fe_point_evaluation.h

index 9189fd0b2e38e477a95508f0444ddfead4c1598b..c1e2c28216b3e0e11fbb536e4f55ffa4cbeb9c03 100644 (file)
@@ -2495,7 +2495,7 @@ FEPointEvaluation<n_components_, dim, spacedim, Number>::integrate_fast(
              is_linear ? (is_face_path ? 2 * Utilities::pow(2, dim - 1) :
                                          Utilities::pow(2, dim)) :
                          0>
-    solution_values_vectorized_linear;
+    solution_values_vectorized_linear = {};
 
   // loop over quadrature batches qb
   const unsigned int n_shapes = is_linear ? 2 : poly.size();

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.