diff --git a/src/OpenFOAM/meshes/polyMesh/polyMesh.C b/src/OpenFOAM/meshes/polyMesh/polyMesh.C index 06cf6d738e..e2fe25310f 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyMesh.C +++ b/src/OpenFOAM/meshes/polyMesh/polyMesh.C @@ -845,7 +845,7 @@ void Foam::polyMesh::swap(polyMesh& otherMesh) { boundaryMesh[otherPatchi] = polyPatch ( - otherPatches[otherPatchi], + boundaryMesh[otherPatchi], boundaryMesh, otherPatchi, otherPatches[otherPatchi].size(),