diff --git a/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C b/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C index fa333246f8..b8284d438e 100644 --- a/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C +++ b/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C @@ -187,7 +187,7 @@ void Foam::cyclicAMIPolyPatch::calcTransforms } scalar areaError = - max(errorPos, errorNeg)/(mag(area1) + ROOTVSMALL); + min(errorPos, errorNeg)/(mag(area1) + ROOTVSMALL); if (areaError > matchTolerance()) {