Skip to content

Commit e0a2408

Browse files
committed
comments
1 parent 3b1ef17 commit e0a2408

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

test/runtests.jl

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,31 +22,31 @@ using Test
2222

2323
# :DefaultLinSolve,
2424

25-
# :KrylovJL,
26-
# :IterativeSolvers.jl
25+
# :KrylovJL, KrylovJL_CG, KrylovJL_GMRES, KrylovJL_BICGSTAB,
26+
# :IterativeSolversJL
2727
# :KrylovKitJL,
2828

2929
)
3030
@eval begin
3131
y = solve($prob1, $alg())
32-
@test $A1 * y $b1
33-
@test $A1 * $x1 $b1
32+
@test $A1 * y $b1 # out of place
33+
@test $A1 * $x1 $b1 # in place
3434

35-
y = $alg()($x2, $A2, $b2)
35+
y = $alg()($x2, $A2, $b2) # alg is callable
3636
@test $A2 * y $b2
3737
@test $A2 * $x2 $b2
3838

39-
cache = SciMLBase.init($prob1, $alg())
40-
y = cache($x3, $A1, $b1)
39+
cache = SciMLBase.init($prob1, $alg()) # initialize cache
40+
y = cache($x3, $A1, $b1) # cache is callable
4141
@test $A1 * y $b1
4242
@test $A1 * $x3 $b1
4343

44-
y = cache($x3, $A1, $b2)
44+
y = cache($x3, $A1, $b2) # reuse factorization
4545
@test $A1 * y $b2
4646
@test $A1 * $x3 $b2
4747

48-
y = cache($x3, $A2, $b3)
49-
@test $A2 * y $b3
48+
y = cache($x3, $A2, $b3) # new factorization
49+
@test $A2 * y $b3 # same old cache
5050
@test $A2 * $x3 $b3
5151
end
5252
end

0 commit comments

Comments
 (0)