diff --git a/libs/MeshKernel/src/Mesh2D.cpp b/libs/MeshKernel/src/Mesh2D.cpp index 937128c19..7bae50a6c 100644 --- a/libs/MeshKernel/src/Mesh2D.cpp +++ b/libs/MeshKernel/src/Mesh2D.cpp @@ -152,7 +152,7 @@ Mesh2D::Mesh2D(const std::vector& inputNodes, const Polygons& polygons, P void Mesh2D::DoAdministration(CompoundUndoAction* undoAction) { - if (!AdministrationRequired ()) + if (!AdministrationRequired()) { return; } @@ -171,7 +171,7 @@ void Mesh2D::DoAdministration(CompoundUndoAction* undoAction) // classify node types ClassifyNodes(); - SetAdministrationRequired (false); + SetAdministrationRequired(false); } void Mesh2D::DoAdministrationGivenFaceNodesMapping(const std::vector>& faceNodes, @@ -799,7 +799,7 @@ void Mesh2D::ComputeFaceClosedPolygon(UInt faceIndex, std::vector& polygo std::unique_ptr Mesh2D::OffsetSphericalCoordinates(double minx, double maxx) { - // The nodes change in value, but not in any conectivity + // The nodes change in value, but not in any connectivity // So it is unnecessary to redo administration std::unique_ptr undoAction; @@ -2296,7 +2296,7 @@ std::unique_ptr Mesh2D::Merge(const Mesh2D& mesh1, const Mesh2D& mesh2) mergedMesh.SetEdgesRTreeRequiresUpdate(true); mergedMesh.SetFacesRTreeRequiresUpdate(true); - mergedMesh.SetAdministrationRequired (true); + mergedMesh.SetAdministrationRequired(true); return std::make_unique(mergedMesh.m_edges, mergedMesh.m_nodes,