-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
LinearAlgebra.dot
fails with Vector{Union{Float, Missing}}
#844
Comments
Just want to emphasize there is no |
I think that's a bug in StatsBase, which should only use |
Does that also fix people's need for a |
I don't have a strong opinion about that. |
Isn't the fact that this issue was inspired by StatsBase a bit irrelevant here? Shouldn't |
Sorry to bring this up again, but is there some way to come to a decision on this? Does it get added to triage? |
JuliaLang/julia#40769 is marked for linalg triage. |
It would be nice to have this fixed. I am still pirating the dot definition to make it work in applications with missing values. |
For some reason JuliaLang/julia#40769 hasn't been discussed by linalg triage despite the label. I'm not even sure what "linalg triage" is. :-) |
Below is the workaround (relies on piracy) we've been using since this issue was opened: import LinearAlgebra: ⋅
⋅(::Missing, ::Missing) = missing |
I am a card-carrying certified Missing Propagations Hater and I sincerely hope that method is never added to |
MWE:
I would have assumed that the
dot
should yieldmissing
.For reference, I came across this using
StatsBase.mean(x, weights(w))
.The text was updated successfully, but these errors were encountered: