Fixed merge failure
This commit is contained in:
parent
2fea87c674
commit
1c6c10d84a
1 changed files with 3 additions and 4 deletions
|
@ -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>());
|
||||
|
|
Reference in a new issue