@@ -849,7 +849,7 @@ function dot(x::AbstractVector, A::UpperTriangular, y::AbstractVector)
849849 m = size (A, 1 )
850850 (length (x) == m == length (y)) || throw (DimensionMismatch ())
851851 if iszero (m)
852- return dot (zero (eltype (x)), zero (eltype (A)), zero (eltype (y)))
852+ return zero ( dot (zero (eltype (x)), zero (eltype (A)), zero (eltype (y) )))
853853 end
854854 x₁ = x[1 ]
855855 r = dot (x₁, A[1 ,1 ], y[1 ])
@@ -870,7 +870,7 @@ function dot(x::AbstractVector, A::UnitUpperTriangular, y::AbstractVector)
870870 m = size (A, 1 )
871871 (length (x) == m == length (y)) || throw (DimensionMismatch ())
872872 if iszero (m)
873- return dot (zero (eltype (x)), zero (eltype (A)), zero (eltype (y)))
873+ return zero ( dot (zero (eltype (x)), zero (eltype (A)), zero (eltype (y) )))
874874 end
875875 x₁ = first (x)
876876 r = dot (x₁, y[1 ])
@@ -892,7 +892,7 @@ function dot(x::AbstractVector, A::LowerTriangular, y::AbstractVector)
892892 m = size (A, 1 )
893893 (length (x) == m == length (y)) || throw (DimensionMismatch ())
894894 if iszero (m)
895- return dot (zero (eltype (x)), zero (eltype (A)), zero (eltype (y)))
895+ return zero ( dot (zero (eltype (x)), zero (eltype (A)), zero (eltype (y) )))
896896 end
897897 r = zero (typeof (dot (first (x), first (A), first (y))))
898898 @inbounds for j in axes (A, 2 )
@@ -912,7 +912,7 @@ function dot(x::AbstractVector, A::UnitLowerTriangular, y::AbstractVector)
912912 m = size (A, 1 )
913913 (length (x) == m == length (y)) || throw (DimensionMismatch ())
914914 if iszero (m)
915- return dot (zero (eltype (x)), zero (eltype (A)), zero (eltype (y)))
915+ return zero ( dot (zero (eltype (x)), zero (eltype (A)), zero (eltype (y) )))
916916 end
917917 r = zero (typeof (dot (first (x), first (y))))
918918 @inbounds for j in axes (A, 2 )
0 commit comments