COMP: Resolved compiler warning

This commit is contained in:
Andrew Heather
2019-01-21 13:24:15 +00:00
parent 6ccdc77468
commit a8fa75246b

View File

@ -218,7 +218,7 @@ void Foam::shortestPathSet::calculateDistance
scalarField pfld(fld.boundaryField()[patchi].size());
forAll(pfld, i)
{
pfld[i] = 1.0*allFaceInfo[pp.start()+i].distance();
pfld[i] = 1.0*p[i].distance();
}
fld.boundaryFieldRef()[patchi] == pfld;
}