mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fix the parallel L-infinity norm calculation.
It was computing a global maximum before, which obviously is not the same thing.
This commit is contained in:
parent
5d38c77881
commit
82d6d949db
@ -1104,7 +1104,7 @@ namespace detail {
|
||||
const ParallelISTLInformation& real_info =
|
||||
boost::any_cast<const ParallelISTLInformation&>(pinfo);
|
||||
double result=0;
|
||||
real_info.computeReduction(a.value(), Reduction::makeGlobalMaxFunctor<double>(), result);
|
||||
real_info.computeReduction(a.value(), Reduction::makeLInfinityNormFunctor<double>(), result);
|
||||
return result;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user