mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Corrected ambiguous construction from tmp msgs (llvm/clang)
This commit is contained in:
@ -153,14 +153,14 @@ Type Foam::fieldValues::faceSource::processSameTypeValues
|
||||
}
|
||||
case opAreaAverage:
|
||||
{
|
||||
const scalarField magSf = mag(Sf);
|
||||
const scalarField magSf(mag(Sf));
|
||||
|
||||
result = sum(values*magSf)/sum(magSf);
|
||||
break;
|
||||
}
|
||||
case opAreaIntegrate:
|
||||
{
|
||||
const scalarField magSf = mag(Sf);
|
||||
const scalarField magSf(mag(Sf));
|
||||
|
||||
result = sum(values*magSf);
|
||||
break;
|
||||
@ -177,7 +177,7 @@ Type Foam::fieldValues::faceSource::processSameTypeValues
|
||||
}
|
||||
case opCoV:
|
||||
{
|
||||
const scalarField magSf = mag(Sf);
|
||||
const scalarField magSf(mag(Sf));
|
||||
|
||||
Type meanValue = sum(values*magSf)/sum(magSf);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user