diff --git a/test/static_arrays.jl b/test/static_arrays.jl index 109a4c53..5be6b6a2 100644 --- a/test/static_arrays.jl +++ b/test/static_arrays.jl @@ -17,7 +17,7 @@ for alg in (nothing, LUFactorization(), SVDFactorization(), CholeskyFactorizatio sol = solve(LinearProblem(A, b), alg) @inferred solve(LinearProblem(A, b), alg) @test norm(A * sol .- b) < 1e-10 - if typeof(alg) <: KrylovJL_GMRES + if alg isa Function && alg === KrylovJL_GMRES @test_broken __solve_no_alloc(A, b, alg) isa SciMLBase.LinearSolution else @test_nowarn __solve_no_alloc(A, b, alg) isa SciMLBase.LinearSolution