Skip to content

Fix bug in FullLaplace.sample (refer to Issue #268)#270

Merged
wiseodd merged 1 commit intoaleximmer:mainfrom
2bys:fix_fulllaplace_sampling_bug
Feb 1, 2025
Merged

Fix bug in FullLaplace.sample (refer to Issue #268)#270
wiseodd merged 1 commit intoaleximmer:mainfrom
2bys:fix_fulllaplace_sampling_bug

Conversation

@2bys
Copy link
Copy Markdown
Contributor

@2bys 2bys commented Jan 12, 2025

This pull request fixes a bug in the full FullLaplace.sample function, by changing $samples @ scale \rightarrow samples @ scale^{\top}$ which coincides with the remaining code. The bug is discussed in Issue #268.

@aleximmer aleximmer linked an issue Jan 12, 2025 that may be closed by this pull request
@aleximmer aleximmer self-requested a review January 19, 2025 14:10
@aleximmer
Copy link
Copy Markdown
Owner

Thanks a lot for spotting and fixing this bug! @wiseodd, do you know why ruff is failing?

@wiseodd
Copy link
Copy Markdown
Collaborator

wiseodd commented Feb 1, 2025

Ruff is failing because some files are not formatted using ruff. It's trivial to fix but I can't push my change to this PR. Will merge and immediately push the fix to main.

@wiseodd wiseodd merged commit 83a3294 into aleximmer:main Feb 1, 2025
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.

Potential bug in FullLaplace (with nn predictive)

3 participants