Skip to content

Prevent underflow with saturating_sub(1) (#812)#817

Merged
ThierryBerger merged 1 commit intodimforge:masterfrom
Johannes0021:saturating_sub_812
Apr 1, 2025
Merged

Prevent underflow with saturating_sub(1) (#812)#817
ThierryBerger merged 1 commit intodimforge:masterfrom
Johannes0021:saturating_sub_812

Conversation

@Johannes0021
Copy link
Copy Markdown
Contributor

Fixes #812

@ThierryBerger ThierryBerger merged commit 3855592 into dimforge:master Apr 1, 2025
8 checks passed
@ThierryBerger
Copy link
Copy Markdown
Contributor

Thanks!

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.

Possible underflow in num_islands and num_groups - Would saturating_sub(1) be better?

2 participants