]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix GC tests 13459/head
authorPeter Munch <peterrmuench@gmail.com>
Sun, 27 Feb 2022 20:31:46 +0000 (21:31 +0100)
committerPeter Munch <peterrmuench@gmail.com>
Sun, 27 Feb 2022 20:31:46 +0000 (21:31 +0100)
tests/multigrid-global-coarsening/multigrid_util.h

index db03f9c77cf51db77ed604b8d1f0518707900a45..8cb740acf53d89c275a50d62b0c1236157f1973f 100644 (file)
@@ -134,6 +134,7 @@ public:
   compute_inverse_diagonal(VectorType &diagonal) const
   {
     // compute diagonal
+    matrix_free.initialize_dof_vector(diagonal);
     MatrixFreeTools::compute_diagonal(matrix_free,
                                       diagonal,
                                       &Operator::do_cell_integral_local,

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.