You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia> [1,2]' * [1,2,3.]
5.0
julia> [1,2]' * [1,2,3]
ERROR: DimensionMismatch("first array has length 2 which does not match the length of the second, 3.")
As noted by @marius311 here, the merged PR JuliaLang/julia#35257 seems to cause the following unintended behavior
Both should error, but if the eltype is different between the two vectors, it does not. The culprit seems to be https://github.com/JuliaLang/julia/blob/eb4784a8fb7f572b12d9e4c966975bc8d4c8157f/stdlib/LinearAlgebra/src/adjtrans.jl#L247 where
zip
is used as a fallbackThe text was updated successfully, but these errors were encountered: