@@ -893,7 +893,7 @@ function dot(x::AbstractVector, A::UpperTriangular, y::AbstractVector)
893893 m = size (A, 1 )
894894 (length (x) == m == length (y)) || throw (DimensionMismatch ())
895895 if iszero (m)
896- return dot (zero (eltype (x)), zero (eltype (A)), zero (eltype (y)))
896+ return zero ( dot (zero (eltype (x)), zero (eltype (A)), zero (eltype (y) )))
897897 end
898898 x₁ = x[1 ]
899899 r = dot (x₁, A[1 ,1 ], y[1 ])
@@ -914,7 +914,7 @@ function dot(x::AbstractVector, A::UnitUpperTriangular, y::AbstractVector)
914914 m = size (A, 1 )
915915 (length (x) == m == length (y)) || throw (DimensionMismatch ())
916916 if iszero (m)
917- return dot (zero (eltype (x)), zero (eltype (A)), zero (eltype (y)))
917+ return zero ( dot (zero (eltype (x)), zero (eltype (A)), zero (eltype (y) )))
918918 end
919919 x₁ = first (x)
920920 r = dot (x₁, y[1 ])
@@ -936,7 +936,7 @@ function dot(x::AbstractVector, A::LowerTriangular, y::AbstractVector)
936936 m = size (A, 1 )
937937 (length (x) == m == length (y)) || throw (DimensionMismatch ())
938938 if iszero (m)
939- return dot (zero (eltype (x)), zero (eltype (A)), zero (eltype (y)))
939+ return zero ( dot (zero (eltype (x)), zero (eltype (A)), zero (eltype (y) )))
940940 end
941941 r = zero (typeof (dot (first (x), first (A), first (y))))
942942 @inbounds for j in axes (A, 2 )
@@ -956,7 +956,7 @@ function dot(x::AbstractVector, A::UnitLowerTriangular, y::AbstractVector)
956956 m = size (A, 1 )
957957 (length (x) == m == length (y)) || throw (DimensionMismatch ())
958958 if iszero (m)
959- return dot (zero (eltype (x)), zero (eltype (A)), zero (eltype (y)))
959+ return zero ( dot (zero (eltype (x)), zero (eltype (A)), zero (eltype (y) )))
960960 end
961961 r = zero (typeof (dot (first (x), first (y))))
962962 @inbounds for j in axes (A, 2 )
0 commit comments