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 _nThreads lower bound to 0 #83

Merged
merged 2 commits into from Jun 17, 2021
Merged

Fix _nThreads lower bound to 0 #83

merged 2 commits into from Jun 17, 2021

Conversation

jayghoshter
Copy link
Contributor

_nThreads (type unsigned int) now defaults to 0 if NTHREADS is
less than 0.

_nThreads (type `unsigned int`) now defaults to 0 if NTHREADS is
less than 0.
@jayghoshter jayghoshter requested a review from sleweke June 17, 2021 12:54
Avoids reading NTHREAD field twice while clipping it to nonnegative
values.
@sleweke sleweke merged commit c832f68 into master Jun 17, 2021
@sleweke sleweke deleted the fixNTHREADSLowerBound branch June 17, 2021 23:02
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.

None yet

2 participants