Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix possible division by zero in object pool test #491

Merged
merged 1 commit into from
Oct 12, 2023
Merged

Conversation

mattelser
Copy link
Contributor

I'm surprised this wasn't tripped earlier, but this test can be (randomly) handed an empty pool, causing a division by zero.

Copy link
Contributor

@weegeekps weegeekps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mattelser mattelser enabled auto-merge October 12, 2023 19:42
@mattelser mattelser merged commit ce3b0d4 into main Oct 12, 2023
3 checks passed
@mattelser mattelser deleted the smallTestFix branch October 12, 2023 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants