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

np.random.permutation can not handle float #12

Merged
merged 1 commit into from
Oct 15, 2020

Conversation

a8252525
Copy link
Contributor

@a8252525 a8252525 commented Oct 9, 2020

In Python 3.6.7, numbers being divided are not an integer (it's float number) anymore while np.random.permutation can not handle float number.
Simply add the int() can fix it.

@CLAassistant
Copy link

CLAassistant commented Oct 9, 2020

CLA assistant check
All committers have signed the CLA.

@TJKlein TJKlein merged commit 6f19432 into SAP-samples:master Oct 15, 2020
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.

3 participants