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 Critical Bug in Guides #97

Merged
merged 2 commits into from
Aug 3, 2023
Merged

Fix Critical Bug in Guides #97

merged 2 commits into from
Aug 3, 2023

Conversation

martinrohbeck
Copy link
Collaborator

No description provided.

@@ -135,7 +135,7 @@ def _mean_log_normal(self, site_name: str) -> torch.Tensor:
return (loc + scale.pow(2) / 2).exp()

def _median_log_normal(self, site_name: str) -> torch.Tensor:
loc, scale = self._get_loc_and_scale(site_name)
loc, _ = self._get_loc_and_scale(site_name)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Well, ackchyually we do not need scale

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

PR title was only a joke :D

@arberqoku arberqoku merged commit 70ab785 into main Aug 3, 2023
1 of 2 checks passed
@arberqoku arberqoku deleted the fix/variational-dist branch August 3, 2023 20:30
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.

2 participants