]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix warning in step70 10248/head
authorPeter Munch <peterrmuench@gmail.com>
Fri, 15 May 2020 14:11:41 +0000 (16:11 +0200)
committerDaniel Arndt <arndtd@ornl.gov>
Sat, 16 May 2020 04:21:36 +0000 (00:21 -0400)
examples/step-70/step-70.cc

index 2963ea98c4ce133b158b5e8240e9172b69a3901b..4ae89c7648a9e2a88f06fb21403ec6b05b97e166 100644 (file)
@@ -1398,8 +1398,11 @@ namespace Step70
 
     const auto invS = inverse_operator(S, cg, amgS);
 
-    const auto P =
-      block_diagonal_operator<2, LA::MPI::BlockVector>({amgA, amgS});
+    const auto P = block_diagonal_operator<2, LA::MPI::BlockVector>(
+      std::array<
+        dealii::LinearOperator<
+          typename dealii::TrilinosWrappers::MPI::BlockVector::BlockType>,
+        2>{{amgA, amgS}});
 
     SolverControl solver_control(system_matrix.m(),
                                  1e-10 * system_rhs.l2_norm());

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.