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 crashes in numpy 1.18 #534

Merged
merged 1 commit into from Dec 22, 2019
Merged

Fix crashes in numpy 1.18 #534

merged 1 commit into from Dec 22, 2019

Conversation

aleju
Copy link
Owner

@aleju aleju commented Dec 22, 2019

Fixed imgaug.random.normalize_generator() crashing in numpy 1.18.
The function relied on numpy.random.bit_generator.BitGenerator, which was moved in numpy 1.18 to numpy.random.BitGenerator without a deprecation period for the old name.

@codecov-io
Copy link

codecov-io commented Dec 22, 2019

Codecov Report

Merging #534 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #534      +/-   ##
==========================================
- Coverage   96.34%   96.33%   -0.01%     
==========================================
  Files          37       37              
  Lines       13366    13369       +3     
==========================================
+ Hits        12877    12879       +2     
- Misses        489      490       +1

@aleju aleju merged commit 594853e into master Dec 22, 2019
@aleju aleju deleted the numpy118 branch December 22, 2019 22: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