From 51d6c156b4e22c947d729a61d0cba3fc65c416e0 Mon Sep 17 00:00:00 2001 From: Daniel Karrasch Date: Mon, 10 May 2021 13:20:35 +0200 Subject: [PATCH] more specific signature --- stdlib/LinearAlgebra/src/generic.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/LinearAlgebra/src/generic.jl b/stdlib/LinearAlgebra/src/generic.jl index b8ba20c42e4d7..a1160aa38eb78 100644 --- a/stdlib/LinearAlgebra/src/generic.jl +++ b/stdlib/LinearAlgebra/src/generic.jl @@ -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)