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

Tighter conditions for loops in _poisson sampling #583

Merged
merged 2 commits into from
May 5, 2020

Conversation

lumip
Copy link
Contributor

@lumip lumip commented Apr 30, 2020

fixes issue #582

@fehiepsi
Copy link
Member

Thanks! You are right. We should make sure that these loops stop at some points, in both branches. Let me take a closer look.

@fehiepsi
Copy link
Member

fehiepsi commented May 1, 2020

Hi @lumip , the fix sounds very reasonable to me, nice catch! (and thanks for explaining the reason in details). To proceed, could you fix lint issue? (by running flake8 locally)

@lumip
Copy link
Contributor Author

lumip commented May 4, 2020

@fehiepsi I have addressed the linting issues now

Copy link
Member

@fehiepsi fehiepsi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to merge this!

@fehiepsi fehiepsi merged commit 152c096 into pyro-ppl:master May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants