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

Fix FullSubnetLaplace.sample() #216

Merged
merged 3 commits into from
Aug 5, 2024

Conversation

elcorto
Copy link
Contributor

@elcorto elcorto commented Aug 5, 2024

Closes #213

This fix is based on inspecting the base class code FullLaplace.sample() and DiagSubnetLaplace.sample(). It seems to produce sensible results but a second pair of eyes is needed here. I also added a test, since the tests so far did not catch the reported issue.

elcorto added 2 commits August 5, 2024 10:28
Make sure that the passed generator gets used. Check
that the subnetmask application is reflected in samples.
Copy link
Collaborator

@wiseodd wiseodd left a comment

Choose a reason for hiding this comment

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

Clean PR as always! LGTM!

@wiseodd wiseodd merged commit 553cf7c into aleximmer:main Aug 5, 2024
3 checks passed
@elcorto elcorto deleted the feature-fix-fullsubnet-samples branch August 5, 2024 20:46
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.

FullSubnetLaplace.sample() doesn't use generator
2 participants