From 5449047682a95433de08a99e4e3d407e4dc35d51 Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Fri, 13 Nov 2015 15:52:01 +0100 Subject: [PATCH] Splits a very long line. --- opm/autodiff/SimulatorBase_impl.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/opm/autodiff/SimulatorBase_impl.hpp b/opm/autodiff/SimulatorBase_impl.hpp index 2f277d8a9..f43e73607 100644 --- a/opm/autodiff/SimulatorBase_impl.hpp +++ b/opm/autodiff/SimulatorBase_impl.hpp @@ -370,7 +370,9 @@ namespace Opm #if HAVE_MPI if ( solver_.parallelInformation().type() == typeid(ParallelISTLInformation) ) { - global_number_resv_wells = boost::any_cast(solver_.parallelInformation()).communicator().sum(global_number_resv_wells); + const auto& info = + boost::any_cast(solver_.parallelInformation()); + global_number_resv_wells = info.communicator().sum(global_number_resv_wells); if ( global_number_resv_wells ) { // At least one process has resv wells. Therefore rate converter needs