-
Notifications
You must be signed in to change notification settings - Fork 3.2k
support null shape in jax.random.poisson #8390
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
Conversation
@jakevdp Could you please review this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi - sorry this fell off my radar. Thanks for the contribution! A few small changes and then we can get this merged.
222f4f8
to
c4e1bbd
Compare
@jakevdp Really sorry for the delay. I have made the changes requested. Could you please review it now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
Looks like there are a couple flake8 issues – once these are addressed we can get this merged. Thanks! |
@jakevdp I have fixed them now |
Thanks - can you squash all the changes into a single commit please? |
27323f5
to
03adf8c
Compare
@jakevdp I have squashed changes into a single commit now. |
Fixes #7861
Issue
was giving errors, because default
shape
was not being broadcasted tolam
Changes introduced
shape
argument is not given tojax.random.poisson
,it takes the shape of
lam.shape