Skip to content

Commit 417817c

Browse files
kshyattlkdvos
andcommitted
Update test/cuda/factorizations.jl
Co-authored-by: Lukas Devos <[email protected]>
1 parent ba538e7 commit 417817c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/cuda/factorizations.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,8 @@ for V in spacelist
429429
)
430430
project_hermitian!(t)
431431
vals = @constinferred LinearAlgebra.eigvals(t)
432-
λmax = maximum(s -> maximum(abs, s), values(vals))
433-
λmin = minimum(s -> minimum(abs, s), values(vals))
432+
λmax = maximum(abs, parent(vals))
433+
λmin = minimum(abs, parent(vals))
434434
@test cond(t) λmax / λmin
435435
end
436436
end

0 commit comments

Comments
 (0)