From: Peter Munch Date: Fri, 15 May 2020 14:11:41 +0000 (+0200) Subject: Fix warning in step70 X-Git-Tag: v9.3.0-rc1~1618^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36c7db36adb2102ab709c8ff7905ebdcb14830f3;p=dealii.git Fix warning in step70 --- diff --git a/examples/step-70/step-70.cc b/examples/step-70/step-70.cc index 07847ec145..21971dfbfe 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());