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

Protect against mean=0 in simulation poisson distribution #2094

Merged
merged 2 commits into from
Apr 25, 2022

Conversation

ndevenish
Copy link
Member

Fix against case in testing where a poisson distribution with zero mean could be generated. This works for bootstrap builds and conda-forge prebuilt cctbx on linux, but prebuilt on mac fails. Presumably this is sensitive to how boost was compiled - if boost assertions are enabled when scitbx is compiled, it can encounter this assert, killing the process.

ndevenish and others added 2 commits April 25, 2022 14:01
This works on bootstrap builds, and prebuilt-cctbx linux, but depending on
configuration at build time, could fail if boost is built with assertions.
@ndevenish ndevenish merged commit d29b991 into dials:main Apr 25, 2022
@ndevenish ndevenish deleted the zero_poisson branch April 25, 2022 13:26
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.

None yet

2 participants