fix: node invariant at exception#1454
Conversation
|
The overall change seems consistent with the other exception handling case to me, so I am in favor. I left two comments on aspect that are unclear to me. Since you are already touching this function, can you make sense of https://github.com/barendgehrels/geometry/blob/ad2761fe3582714d9a6efea8189f2ea25125bda3/include/boost/geometry/index/detail/rtree/rstar/insert.hpp#L109 ? It seems dubious since it checks an unsigned value for positivity and that unsigned value is also purely a function of parameters, seems like it should move to https://github.com/boostorg/geometry/blame/develop/include/boost/geometry/index/parameters.hpp . |
It is not advised. |
|
Pushed the two additional fixes or amendments, @tinko92 thanks again for your comments. |
tinko92
left a comment
There was a problem hiding this comment.
Thanks for addressing everything and all the work in the PR! I'm fine with merging.
Fixes: #1399
Description
This fixes the errors in
boost_geometry_index_rtree_exceptions_rstthat I encountered before.Now with help of Claude Code, reporting:
Solution
By Claude Code:
I reviewed it myself and it looks completely right, and it solves the problem.
@awulkiew can you verify this as well?