From 82d6d949dbe589b6c5aecfb3a98f1a55d28520eb Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Tue, 7 Jun 2016 15:10:25 +0200 Subject: [PATCH] Fix the parallel L-infinity norm calculation. It was computing a global maximum before, which obviously is not the same thing. --- opm/autodiff/BlackoilModelBase_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/autodiff/BlackoilModelBase_impl.hpp b/opm/autodiff/BlackoilModelBase_impl.hpp index 8352f9e0e..b72c08a7c 100644 --- a/opm/autodiff/BlackoilModelBase_impl.hpp +++ b/opm/autodiff/BlackoilModelBase_impl.hpp @@ -1104,7 +1104,7 @@ namespace detail { const ParallelISTLInformation& real_info = boost::any_cast(pinfo); double result=0; - real_info.computeReduction(a.value(), Reduction::makeGlobalMaxFunctor(), result); + real_info.computeReduction(a.value(), Reduction::makeLInfinityNormFunctor(), result); return result; } else