From 36c7db36adb2102ab709c8ff7905ebdcb14830f3 Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Fri, 15 May 2020 16:11:41 +0200 Subject: [PATCH] Fix warning in step70 --- examples/step-70/step-70.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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()); -- 2.39.5