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 NumbaWarning #195

Closed
wants to merge 2 commits into from
Closed

Fix NumbaWarning #195

wants to merge 2 commits into from

Conversation

oyamad
Copy link
Member

@oyamad oyamad commented Sep 19, 2015

This tries to fix one of the Numba warnings shown e.g. in Travis CI 421.2, on sample_without_replacement (although I haven't been able to reproduce the warning messages in my environment); see also #155.

The warning says Arg 3 (random_state) of sample_without_replacement is not legal in nopython mode. So I took the loops out as an independent function in nopython mode.

As a side effect, this should resolve item 2 in #170.

as an independent function in nopython mode;
see Issue #155
@oyamad
Copy link
Member Author

oyamad commented Sep 19, 2015

Let me withdraw this PR.

I don't see why these warnings show up, and why only with Python 3, while I cannot reproduce them in my environment so far. I also don't know if we really need to fix them so as to the warnings to disappear.

(I will issue another PR for the second commit.)

@oyamad oyamad closed this Sep 19, 2015
@oyamad oyamad deleted the numba_warnings-fix branch November 24, 2015 13:03
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.

1 participant