-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Unexpected Union type given constructor #7571
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
Comments
This is somewhat related to #7569. If type inference can't figure out Line 277 in 4cfb9a1
|
Why is that line like this. Can't one just check C to be of the correct size and then return fill!(C,0). |
@Jutho Yes, I think that's the right thing to do. |
should always mutate, not sometimes return a new array
Here's another inference surprise triggered by #7568:
There's no way that function can return an
Array{Float64,2}
.The text was updated successfully, but these errors were encountered: