From 14c99a04ba78afacea91b07323eeefc2cf14b193 Mon Sep 17 00:00:00 2001 From: Andy Zhang <37402126+AnzhiZhang@users.noreply.github.com> Date: Thu, 8 Aug 2024 12:34:38 +0100 Subject: [PATCH] test(core): test eigvals on or after v1.10 --- test/runtests.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtests.jl b/test/runtests.jl index 4d05e75..9b3f63a 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -18,12 +18,12 @@ function test_linearalgrbra_functions(A::AbstractMatrix) adjoint => adjoint(A) ≈ adjoint(matrix), transpose => transpose(A) ≈ transpose(matrix), det => det(A) == determinant, - eigvals => eigvals(A) ≈ eigvals(matrix), ]) # https://github.com/JuliaLang/julia/issues/55404 if VERSION >= v"1.10" result[isposdef] = isposdef(A) == isposdef(matrix) + result[eigvals] = eigvals(A) ≈ eigvals(matrix) if determinant != 0 result[inv] = inv(A) ≈ inv(matrix)