diff --git a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C index 5acc8dfa4c..ad5a974ed7 100644 --- a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C +++ b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C @@ -149,13 +149,8 @@ void Foam::AMIInterpolation::checkPatches const scalar maxBoundsError = 0.05; // check bounds of source and target - boundBox bbSrc(srcPatch.points(), srcPatch.meshPoints()); - reduce(bbSrc.min(), minOp()); - reduce(bbSrc.max(), maxOp()); - - boundBox bbTgt(tgtPatch.points(), tgtPatch.meshPoints()); - reduce(bbTgt.min(), minOp()); - reduce(bbTgt.max(), maxOp()); + boundBox bbSrc(srcPatch.points(), srcPatch.meshPoints(), true); + boundBox bbTgt(tgtPatch.points(), tgtPatch.meshPoints(), true); boundBox bbTgtInf(bbTgt); bbTgtInf.inflate(maxBoundsError);