Skip to content

Handle NaN to enforce weak ordering in sort in transverse_deviation - #2169

Open
MichaelChirico wants to merge 1 commit into
rspatial:masterfrom
MichaelChirico:patch-4
Open

Handle NaN to enforce weak ordering in sort in transverse_deviation#2169
MichaelChirico wants to merge 1 commit into
rspatial:masterfrom
MichaelChirico:patch-4

Conversation

@MichaelChirico

@MichaelChirico MichaelChirico commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Closes #2168. Suggested by Gemini, it looks right to me (especially it matches the lambda in sort.cpp), and the examples work+tests pass with it applied.

Given that existing examples already failed, I elected not to add any new tests, but we could add some in principle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invalid weak ordering (bad NaN handling)

1 participant