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

Bernoulli returns a Boolean instead of an integer #789

Closed
fehiepsi opened this issue Oct 26, 2020 · 0 comments · Fixed by #796
Closed

Bernoulli returns a Boolean instead of an integer #789

fehiepsi opened this issue Oct 26, 2020 · 0 comments · Fixed by #796
Labels
enhancement New feature or request

Comments

@fehiepsi
Copy link
Member

Currently, in Bernoulli distribution, we sample boolean arrays but using arange(2) for enumerate support. We should use 0, 1 values in sample method for consistency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant