From 3775ec32517519020aa5200d0fbe4686c2ba3fa8 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 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()); -- 2.39.5