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 LocScaleReparam(centered=1.0) #2863

Merged
merged 1 commit into from
Jun 8, 2021
Merged

Fix LocScaleReparam(centered=1.0) #2863

merged 1 commit into from
Jun 8, 2021

Conversation

fritzo
Copy link
Member

@fritzo fritzo commented Jun 8, 2021

This fixes the special case of LocScaleReparam(centered) when centered = 1.0, which is intended to allow easy disabling of the reparametrizer. Although we had a test that intended to cover this case, the test also had an error and missed this case.

Tested

  • fixed the existing test, and verified the fixed test caught the bug

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.

Good catch! I'll fix the numpyro fork

@fehiepsi fehiepsi merged commit 005032f into dev Jun 8, 2021
@fritzo fritzo deleted the fix-loc-scale-reparam branch September 27, 2021 14:46
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