Skip to content

Commit b8327b1

Browse files
committed
Fix typo
1 parent ac64d3e commit b8327b1

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
@@ -129,7 +129,7 @@ end
129129

130130
# Diagonal logic
131131
# --------------
132-
eig_sortby(x::T) where {T <: Number} = T <: Complex ? (real(x), imag(X)) : x
132+
eig_sortby(x::T) where {T <: Number} = T <: Complex ? (real(x), imag(x)) : x
133133
function eig_full!(A::Diagonal, DV, alg::DiagonalAlgorithm)
134134
check_input(eig_full!, A, DV, alg)
135135
D, V = DV

0 commit comments

Comments
 (0)