Skip to content

Fix reparameterized gp.TP chi2 variable name #3945

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

Merged
merged 3 commits into from
Jun 10, 2020
Merged

Fix reparameterized gp.TP chi2 variable name #3945

merged 3 commits into from
Jun 10, 2020

Conversation

bwengals
Copy link
Contributor

@bwengals bwengals commented Jun 7, 2020

Small fix, in gp.TP, a parameter called chi2_ is automatically added to the model. It didn't have a unique name though, so there's an error if more than one Student's t process is in the model. This PR fixes this by changing the name to tp_name + _chi2_. Does this need a test?

@michaelosthege
Copy link
Member

Hi @bwengals , since this is a small fix we can merge it for 3.9.0 as soon as you get the tests green.

@michaelosthege michaelosthege added this to the 3.9.0 milestone Jun 8, 2020
@bwengals
Copy link
Contributor Author

bwengals commented Jun 8, 2020

Of course, I totally forgot to check the tests.

Copy link
Member

@michaelosthege michaelosthege left a comment

Choose a reason for hiding this comment

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

Finish line! 🥳

@michaelosthege michaelosthege merged commit 7a50430 into master Jun 10, 2020
@michaelosthege michaelosthege deleted the TP-fix branch March 10, 2021 13:14
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.

3 participants