diff --git a/src/meshTools/cellDist/wallPoint/wallPointI.H b/src/meshTools/cellDist/wallPoint/wallPointI.H index 95f0f02cdb..306a274984 100644 --- a/src/meshTools/cellDist/wallPoint/wallPointI.H +++ b/src/meshTools/cellDist/wallPoint/wallPointI.H @@ -144,8 +144,7 @@ inline bool Foam::wallPoint::sameGeometry const wallPoint& w2, const scalar tol, TrackingData& td -) - const +) const { scalar diff = mag(distSqr() - w2.distSqr());