COMP: correction for Clang

This commit is contained in:
Andrew Heather 2018-04-18 13:33:09 +01:00
parent ed4564a805
commit 21369e4702

View File

@ -214,7 +214,7 @@ void Foam::outletMachNumberPressureFvPatchScalarField::updateCoeffs()
<< exit(FatalError);
}
const scalarField r = pBack_/ptot;
const scalarField r(pBack_/ptot);
const scalar area = gSum(mag(patch().Sf()));
M =
A1_/(c1_*area)