-
Notifications
You must be signed in to change notification settings - Fork 6
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
Some bugfixes #125
Some bugfixes #125
Conversation
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Just need to re-run CI once AbstractGPs 0.5.11 is released |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once the new AbstractGPs is released and tests pass
@@ -306,7 +306,7 @@ Statistics. PMLR, 2015. | |||
""" | |||
function AbstractGPs.elbo( | |||
sva::SparseVariationalApproximation, | |||
fx::FiniteGP{<:AbstractGP,<:AbstractVector,<:Diagonal{<:Real,<:Fill}}, | |||
fx::FiniteGP{<:AbstractGP,<:AbstractVector,<:Union{Diagonal{<:Real,<:Fill},ScalMat}}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be in a seperate issue, but I think that this is too restrictive of a type constraint - it depends too much on implementation details of AbstractGPs (which is why it broke in the first place) and isn't extensible. I'm pretty sure I wrote it in the first place, so I'll make a PR to change it once this one's in - but what do people think about it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd be happy for it to become cleaner, go ahead:) - what would be a better way of checking though?
Codecov Report
@@ Coverage Diff @@
## master #125 +/- ##
==========================================
- Coverage 93.61% 93.30% -0.31%
==========================================
Files 5 4 -1
Lines 329 284 -45
==========================================
- Hits 308 265 -43
+ Misses 21 19 -2
Continue to review full report at Codecov.
|
@st-- looks like it's passing now |
Also see #126. This one is ready for merging though.