diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.C b/src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.C index 49b676b4bd..a2b5b08108 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.C +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.C @@ -774,7 +774,7 @@ void Foam::addPatchCellLayer::setRefinement ", polyTopoChange&)" ) << "boundary-edge-to-be-extruded:" << pp.points()[meshPoints[e[0]]] - << pp.points()[meshPoints[e[0]]] + << pp.points()[meshPoints[e[1]]] << " has more than two faces using it:" << eFaces << abort(FatalError); } @@ -816,7 +816,7 @@ void Foam::addPatchCellLayer::setRefinement ", polyTopoChange&)" ) << "boundary-edge-to-be-extruded:" << pp.points()[meshPoints[e[0]]] - << pp.points()[meshPoints[e[0]]] + << pp.points()[meshPoints[e[1]]] << " has more than two boundary faces" << " using it:" << bFaceI << " fc:"