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: random.draw: Replace random_sample with random #503

Merged
merged 1 commit into from
Sep 3, 2019
Merged

Conversation

oyamad
Copy link
Member

@oyamad oyamad commented Sep 2, 2019

Fix #502

This is a bug of Numba 0.45.0-0.45.1, which has been fixed by numba/numba#4431 on Numba master. It will take some time to be released, so use random in place of random_sample.

@oyamad oyamad added the ready label Sep 2, 2019
@mmcky
Copy link
Contributor

mmcky commented Sep 3, 2019

thanks @oyamad. Do we need to open an issue to return this to random_sample in the future?

@mmcky mmcky merged commit 35215de into master Sep 3, 2019
@mmcky mmcky deleted the fix-random-draw branch September 3, 2019 00:04
@oyamad
Copy link
Member Author

oyamad commented Sep 3, 2019

No, I guess these are just equivalent (one is an alias of the other, if I understand correctly).

@mmcky
Copy link
Contributor

mmcky commented Sep 3, 2019

OK - great. Thanks @oyamad

@mmcky mmcky mentioned this pull request Dec 9, 2019
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.

[Tests] Errors with numba=0.45.1
2 participants