-
Notifications
You must be signed in to change notification settings - Fork 21
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
Type stability for GPs #155
Comments
Shouldn't you use typeof(posterior(gp(X2, 0.01), Y2)) in your comparison? BTW your comparison doesn't guarantee type stability, you would want to check if the type can be inferred correctly. This can be done e.g. with |
My fault, I forgot the second |
I can't check it right now but I assume that the problem is a missing |
That is indeed the problem! For 1-dimensional vectors |
@kaandocal is this now resolved as #291 is merged? |
I'll take that as a yes 🙂 |
It seems like AbstractGPs is not always type stable in the way we'd expect when calling
posterior
:The text was updated successfully, but these errors were encountered: