diff --git a/src/AMIInterpolation/AMIInterpolation.C b/src/AMIInterpolation/AMIInterpolation.C index dbbf026657e5ff01cbbed516537d47370c32e27f..cb11c6602b5a0dddaa8adf6ceb32ca40154c5d64 100644 --- a/src/AMIInterpolation/AMIInterpolation.C +++ b/src/AMIInterpolation/AMIInterpolation.C @@ -1240,8 +1240,8 @@ void Foam::AMIInterpolation<SourcePatch, TargetPatch>::update ); // weights normalisation - normaliseWeights(tgtPatch, "source", srcAddress_, srcWeights_, true); - normaliseWeights(srcPatch, "target", tgtAddress_, tgtWeights_, true); + normaliseWeights(srcPatch, "source", srcAddress_, srcWeights_, true); + normaliseWeights(tgtPatch, "target", tgtAddress_, tgtWeights_, true); // cache maps and reset addresses List<Map<label> > cMap; @@ -1268,8 +1268,8 @@ void Foam::AMIInterpolation<SourcePatch, TargetPatch>::update writeWeights(tgtWeights_, tgtPatch, "VTK", "target"); } - normaliseWeights(tgtPatch, "source", srcAddress_, srcWeights_, true); - normaliseWeights(srcPatch, "target", tgtAddress_, tgtWeights_, true); + normaliseWeights(srcPatch, "source", srcAddress_, srcWeights_, true); + normaliseWeights(tgtPatch, "target", tgtAddress_, tgtWeights_, true); } patchI++;