-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Fix generic mul accidental type promotion Int32 -> Int64 #35164
Fix generic mul accidental type promotion Int32 -> Int64 #35164
Conversation
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. Did you check whether there are more unintended 0
s (instead of zero
s) in similar contexts?
matmul.jl is clear of |
😕 the current Type deduction for the output vector is way too generic: julia> Real[1 2] * Real[1.5; 2.0]
1-element Array{Any,1}:
5.5 vs julia> Real[1 2] .* Real[1.5; 2.0]
2×2 Array{Float64,2}:
1.5 3.0
2.0 4.0 The test failure is because I'm using Not sure what to replace |
Does |
I'll rerun CI (the only failure seems unrelated) and merge if everything runs smoothly. |
Fixes JuliaLang/LinearAlgebra.jl#704.