Skip to content

[MRG] don't use deprecated random_integers function, use randint instead. #6505

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

Closed
wants to merge 1 commit into from

Conversation

amueller
Copy link
Member

@amueller amueller commented Mar 7, 2016

This removes the use of the deprecated (in numpy dev) random_integers function, replacing it with randint. All the values for high need to be adjusted because random_integers uses inclusive bounds, and randint uses exclusive bounds.

This makes the travis output on the numpy dev branch much more readable.

…andint is exclusive wrt "high", so add one everywhere.
@ssaeger
Copy link

ssaeger commented Mar 11, 2016

LGTM

@betatim
Copy link
Member

betatim commented Mar 21, 2016

One of the travis failures looks like it is related to that problem with MKL/libgfortran from a week ago (can't find the issue 😢) The other one I am not sure about.

Could you tickle travis and see if it passes now?

@amueller
Copy link
Member Author

restarted travis

@MechCoder
Copy link
Member

LGTM

@MechCoder
Copy link
Member

I can merge once you rebase over the fix..

@ssaeger
Copy link

ssaeger commented Apr 26, 2016

Was fixed by #6712.

@MechCoder MechCoder closed this Apr 26, 2016
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.

4 participants