Fixed merge failure

This commit is contained in:
Hrvoje Jasak 2019-02-13 18:06:23 +00:00
parent 2fea87c674
commit 1c6c10d84a

View file

@ -94,10 +94,9 @@ void Foam::adaptiveOverlapFringe::suitabilityFractionSlope
forAllConstIter(FIFOStack<iterationData>, iterHist, it)
{
iterSum += it().iteration();
iterSquaredSum += pow(it().iteration(), 2);
suitabilitySum += it().suitability();
iterXSuitabilitySum += it().iteration()*it().suitability();
n += (it().iteration() - iterMean)*
(it().suitability() - suitabilityMean);
d += sqr(it().iteration() - iterMean);
}
reduce(n, sumOp<scalar>());