Skip to content

Commit

Permalink
more specific signature
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarrasch committed May 10, 2021
1 parent 8794613 commit 51d6c15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stdlib/LinearAlgebra/src/generic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -903,8 +903,8 @@ function dot(x, y) # arbitrary iterables
end

dot(x::Number, y::Number) = conj(x) * y
dot(::Any, ::Missing) = missing
dot(::Missing, ::Any) = missing
dot(::Number, ::Missing) = missing
dot(::Missing, ::Number) = missing
dot(::Missing, ::Missing) = missing

function dot(x::AbstractArray, y::AbstractArray)
Expand Down

0 comments on commit 51d6c15

Please sign in to comment.