Skip to content

Commit

Permalink
GRIDEDIT-953 Fixed exception message, incorrect index
Browse files Browse the repository at this point in the history
  • Loading branch information
BillSenior committed Jun 19, 2024
1 parent 8df2bc1 commit 52a1bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/MeshKernel/src/Polygon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ std::vector<meshkernel::Point> meshkernel::Polygon::LinearRefine(const size_t st
if (endIndex >= m_nodes.size())
{
throw ConstraintError("The end index is greater than the number of points in the polygon: {} >= {}.",
startIndex,
endIndex,
m_nodes.size());
}

Expand Down

0 comments on commit 52a1bc1

Please sign in to comment.