Commit a8fa7524 authored by Andrew Heather's avatar Andrew Heather
Browse files

COMP: Resolved compiler warning

parent 6ccdc774
......@@ -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;
}
......
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