diff --git a/stdlib/LinearAlgebra/src/dense.jl b/stdlib/LinearAlgebra/src/dense.jl index 5ff99e982f2b3..4deaca310b8ff 100644 --- a/stdlib/LinearAlgebra/src/dense.jl +++ b/stdlib/LinearAlgebra/src/dense.jl @@ -291,7 +291,7 @@ function diagm_container(kv::Pair{<:Integer,<:BitVector}...) return falses(n, n) end -diagm(v::AbstractVector) = diagm(0=>v) +diagm(v::AbstractVector) = diagm(0 => v) function tr(A::Matrix{T}) where T