Skip to content

BUG: Fix edge value in randint - #184

Merged
bashtage merged 1 commit into
masterfrom
fix-32-bit-boundary-bug
Sep 13, 2019
Merged

bashtage merged 1 commit into
masterfrom
fix-32-bit-boundary-bug

Conversation

@bashtage

Copy link
Copy Markdown
Owner

Fix bug in randint which did not route 2**32 high values to the
32-bit generator. This fix breaks the stream in Generator if
this function call was made.

@pep8speaks

pep8speaks commented Sep 13, 2019 •

Copy link
Copy Markdown

Hello @bashtage! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2019-09-13 17:47:59 UTC

Fix bug in randint which did not route 2**32 high values to the
32-bit generator. This fix breaks the stream in Generator if
this function call was made.
@bashtage
bashtage force-pushed the fix-32-bit-boundary-bug branch from e3527f3 to 3ec6cba Compare September 13, 2019 17:47
@bashtage

Copy link
Copy Markdown
Owner Author

xref numpy/numpy#14189

@codecov

codecov Bot commented Sep 13, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #184 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #184      +/-   ##
==========================================
+ Coverage   95.03%   95.03%   +<.01%     
==========================================
  Files          37       37              
  Lines       10194    10200       +6     
  Branches      154      154              
==========================================
+ Hits         9688     9694       +6     
  Misses        482      482              
  Partials       24       24
Impacted Files Coverage Δ
randomgen/tests/test_randomstate_regression.py 99.05% <100%> (+0.05%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a9eef1a...3ec6cba. Read the comment docs.

@bashtage
bashtage merged commit aa8e127 into master Sep 13, 2019
@bashtage
bashtage deleted the fix-32-bit-boundary-bug branch September 13, 2019 19:31
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.

2 participants