Skip to content

Commit

Permalink
GRIDEDIT-700 Minor corrections to several comments
Browse files Browse the repository at this point in the history
  • Loading branch information
BillSenior committed Oct 9, 2023
1 parent 9bd09dd commit 19af3c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion libs/MeshKernel/src/CurvilinearGrid/CurvilinearGrid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 19af3c4

Please sign in to comment.