From 96b7ead1687dd272e3a48f72cc5cb740441b5130 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Mon, 29 Jul 2024 22:46:47 -0400 Subject: [PATCH] Update test/static_arrays.jl --- test/static_arrays.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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