We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f78a880 commit 59268fcCopy full SHA for 59268fc
test/basictests.jl
@@ -269,14 +269,17 @@ end
269
270
@testset "KrylovJL" begin
271
kwargs = (; gmres_restart = 5)
272
- for alg in (("Default", KrylovJL(kwargs...)),
+ algorithms = (
273
+ ("Default", KrylovJL(kwargs...)),
274
("CG", KrylovJL_CG(kwargs...)),
275
("GMRES", KrylovJL_GMRES(kwargs...)),
- # ("BICGSTAB",KrylovJL_BICGSTAB(kwargs...)),
276
- ("MINRES", KrylovJL_MINRES(kwargs...)))
277
- @testset "$(alg[1])" begin
278
- test_interface(alg[2], prob1, prob2)
279
- test_interface(alg[2], prob3, prob4)
+ # ("BICGSTAB",KrylovJL_BICGSTAB(kwargs...)),
+ ("MINRES", KrylovJL_MINRES(kwargs...))
+ )
+ for (name, algorithm) in algorithms
280
+ @testset "$name" begin
281
+ test_interface(algorithm, prob1, prob2)
282
+ test_interface(algorithm, prob3, prob4)
283
end
284
285
0 commit comments