Skip to content

Commit

Permalink
Fixed diagonal matrix eigen decomposition to return eigenvectors as d…
Browse files Browse the repository at this point in the history
…iagonal matrix (#54882)
  • Loading branch information
OzgurMertEmir committed Jun 27, 2024
1 parent 4564134 commit b2657a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/LinearAlgebra/src/diagonal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ function eigen(D::Diagonal; permute::Bool=true, scale::Bool=true, sortby::Union{
evecs[p[i],i] = one(Td)
end
else
evecs = Matrix{Td}(I, size(D))
evecs = Diagonal(ones(Td, length(λ)))
end
Eigen(λ, evecs)
end
Expand Down

2 comments on commit b2657a5

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily package evaluation, I will reply here when finished:

@nanosoldier runtests(isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The package evaluation job you requested has completed - possible new issues were detected.
The full report is available.

Please sign in to comment.