Skip to content

Commit 51d6c15

Browse files
committed
more specific signature
1 parent 8794613 commit 51d6c15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/LinearAlgebra/src/generic.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -903,8 +903,8 @@ function dot(x, y) # arbitrary iterables
903903
end
904904

905905
dot(x::Number, y::Number) = conj(x) * y
906-
dot(::Any, ::Missing) = missing
907-
dot(::Missing, ::Any) = missing
906+
dot(::Number, ::Missing) = missing
907+
dot(::Missing, ::Number) = missing
908908
dot(::Missing, ::Missing) = missing
909909

910910
function dot(x::AbstractArray, y::AbstractArray)

0 commit comments

Comments
 (0)