Commit ef350447 authored by Mark Olesen's avatar Mark Olesen
Browse files

Merge commit 'OpenCFD/master' into olesenm

parents ffc9d0d9 29f40776
......@@ -159,9 +159,9 @@ Foam::pointHit Foam::face::intersection
if (curHit.hit())
if (Foam::mag(curHit.distance()) < nearestHitDist)
if (Foam::mag(curHit.distance()) < Foam::mag(nearestHitDist))
nearestHitDist = Foam::mag(curHit.distance());
nearestHitDist = curHit.distance();
Supports Markdown
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