Skip to content

Commit

Permalink
Update stdlib/LinearAlgebra/src/dense.jl
Browse files Browse the repository at this point in the history
Co-Authored-By: eulerkochy <kc99.kol@gmail.com>
  • Loading branch information
StefanKarpinski and eulerkochy authored Feb 20, 2019
1 parent 07f9d59 commit 7be6481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/LinearAlgebra/src/dense.jl
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ end

# Defining diagm() for an AbstractVector

diagm(v::AbstractVector) = diagm(0=>v)
diagm(v::AbstractVector) = diagm(0 => v)


function tr(A::Matrix{T}) where T
Expand Down

0 comments on commit 7be6481

Please sign in to comment.