From: Peter Munch Date: Fri, 15 May 2020 14:11:41 +0000 (+0200) Subject: Fix warning in step70 X-Git-Tag: v9.2.0-rc3~9^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10248%2Fhead;p=dealii.git Fix warning in step70 --- diff --git a/examples/step-70/step-70.cc b/examples/step-70/step-70.cc index 2963ea98c4..4ae89c7648 100644 --- a/examples/step-70/step-70.cc +++ b/examples/step-70/step-70.cc @@ -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());