Commit 78575272 authored by laurence's avatar laurence
Browse files

COMP: Correct to compile with Clang

parent 21203782
......@@ -348,7 +348,7 @@ void Foam::energyRegionCoupledFvPatchScalarField::evaluate
label patchi = patch().index();
const scalarField& pp = thermoPtr_->p().boundaryField()[patchi];
const scalarField lWeights = weights();
const scalarField lWeights(weights());
scalarField::operator=
(
......@@ -416,8 +416,10 @@ patchNeighbourField() const
nbrThermoPtr_->T().internalField(), nbrFaceCells
);
scalarField intNbrT =
regionCoupledPatch_.regionCoupledPatch().interpolate(nbrIntT);
scalarField intNbrT
(
regionCoupledPatch_.regionCoupledPatch().interpolate(nbrIntT)
);
label patchi = patch().index();
const scalarField& pp = thermoPtr_->p().boundaryField()[patchi];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment