Skip to content

Trivial fix to appease UBSan - #3

Open
mchudleigh wants to merge 1 commit into
mmikk:masterfrom
mchudleigh:master
Open

mchudleigh wants to merge 1 commit into
mmikk:masterfrom
mchudleigh:master

Conversation

@mchudleigh

Copy link
Copy Markdown

This should provide no change in behaviour but calms UBSan.

The branch should (hopefully) be optimized away by any modern compiler.

@jdumas

jdumas commented Nov 9, 2023

Copy link
Copy Markdown

+1 to this. @mmikk would it be possible to merge this into the reference repository?

@tksuoran

Copy link
Copy Markdown

The function QuickSort() needs the same fix.

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.

3 participants