From 19af3c46ddd1acd37fd3f5f00de3941ca6518bda Mon Sep 17 00:00:00 2001 From: BillSenior Date: Mon, 9 Oct 2023 09:57:19 +0200 Subject: [PATCH] GRIDEDIT-700 Minor corrections to several comments --- .../include/MeshKernel/CurvilinearGrid/CurvilinearGrid.hpp | 2 +- libs/MeshKernel/src/CurvilinearGrid/CurvilinearGrid.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/MeshKernel/include/MeshKernel/CurvilinearGrid/CurvilinearGrid.hpp b/libs/MeshKernel/include/MeshKernel/CurvilinearGrid/CurvilinearGrid.hpp index 8bcc66e58..9af109748 100644 --- a/libs/MeshKernel/include/MeshKernel/CurvilinearGrid/CurvilinearGrid.hpp +++ b/libs/MeshKernel/include/MeshKernel/CurvilinearGrid/CurvilinearGrid.hpp @@ -207,7 +207,7 @@ namespace meshkernel void DeleteNode(Point const& point); /// @brief Set all the nodes interior to the block to be invalid. - /// @note If any index is the null value or os out of range a ConstraintError will be thrown + /// @note If any index is the null value or is out of range a ConstraintError will be thrown void DeleteInterior(const CurvilinearGridNodeIndices& firstNode, const CurvilinearGridNodeIndices& secondNode); /// @brief Moves a node from one position to another diff --git a/libs/MeshKernel/src/CurvilinearGrid/CurvilinearGrid.cpp b/libs/MeshKernel/src/CurvilinearGrid/CurvilinearGrid.cpp index adc0ad55b..ecb77b6c8 100644 --- a/libs/MeshKernel/src/CurvilinearGrid/CurvilinearGrid.cpp +++ b/libs/MeshKernel/src/CurvilinearGrid/CurvilinearGrid.cpp @@ -877,7 +877,7 @@ void CurvilinearGrid::DeleteInterior(const CurvilinearGridNodeIndices& firstNode if (!firstNode.IsValid() || !secondNode.IsValid()) { - throw ConstraintError("Invalid index: first node {{{}, {}}} {{{}, {}}}", firstNode.m_m, firstNode.m_n, secondNode.m_m, secondNode.m_n); + throw ConstraintError("Invalid index: first index - {{{}, {}}}, second index - {{{}, {}}}", firstNode.m_m, firstNode.m_n, secondNode.m_m, secondNode.m_n); } if (firstNode.m_m >= m_numM || firstNode.m_n >= m_numN)