Skip to content

Commit 96b7ead

Browse files
Update test/static_arrays.jl
1 parent 14f838f commit 96b7ead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/static_arrays.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ for alg in (nothing, LUFactorization(), SVDFactorization(), CholeskyFactorizatio
1717
sol = solve(LinearProblem(A, b), alg)
1818
@inferred solve(LinearProblem(A, b), alg)
1919
@test norm(A * sol .- b) < 1e-10
20-
if typeof(alg) <: KrylovJL_GMRES
20+
if alg isa Function && alg === KrylovJL_GMRES
2121
@test_broken __solve_no_alloc(A, b, alg) isa SciMLBase.LinearSolution
2222
else
2323
@test_nowarn __solve_no_alloc(A, b, alg) isa SciMLBase.LinearSolution

0 commit comments

Comments
 (0)