Skip to content

Commit b56d7f3

Browse files
committed
small improvement
1 parent d63f149 commit b56d7f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/implementations/eig.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ for (f, f_lapack!, Alg) in (
114114
function eig_full!(A::AbstractMatrix, DV, alg::$Alg)
115115
check_input(eig_full!, A, DV, alg)
116116
D, V = DV
117-
Dd, V = $f_eig_full!(A, D.diag, V; alg.kwargs...)
117+
Dd, V = $f_eig_full!(A, diagview(D), V; alg.kwargs...)
118118
return D, V
119119
end
120120
function eig_vals!(A::AbstractMatrix, D, alg::$Alg)

0 commit comments

Comments
 (0)