Skip to content

Commit a7513cb

Browse files
committed
attempt to fix ambiguities
1 parent d007687 commit a7513cb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/linalg.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,13 @@ function dot(
754754
return _dot_quadratic_form(a, Q, b)
755755
end
756756

757+
function dot(
758+
a::AbstractSparseVector,
759+
Q::LinearAlgebra.Hermitian{<:Real, DenseMatrixUnion},
760+
b::AbstractSparseVector)
761+
return _dot_quadratic_form(a, Q, b)
762+
end
763+
757764
# actual function implementation called by the method dispatch
758765
function _dot_quadratic_form(a, Q, b)
759766
n = length(a)

0 commit comments

Comments
 (0)