From 7cdb206f9ac5fde27de2471407eda8ee83acf9e9 Mon Sep 17 00:00:00 2001 From: Will Bainbridge Date: Wed, 22 Mar 2023 14:44:15 +0000 Subject: [PATCH] polyMesh::swap: Corrected copy of patch identifier --- src/OpenFOAM/meshes/polyMesh/polyMesh.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(),