diff --git a/src/sampling/cuttingPlane/cuttingPlane.C b/src/sampling/cuttingPlane/cuttingPlane.C index 30b7de9bf6..35e98239aa 100644 --- a/src/sampling/cuttingPlane/cuttingPlane.C +++ b/src/sampling/cuttingPlane/cuttingPlane.C @@ -313,7 +313,7 @@ void Foam::cuttingPlane::walkCellCuts face f(faceVerts); // Orient face to point in the same direction as the plane normal - if ((f.normal(cutPoints) && normal()) < 0) + if ((f.normal(cutPoints) & normal()) < 0) { f = f.reverseFace(); }