Skip to content

Commit 885773b

Browse files
Merge pull request #90 from vpuri3/patch-1
tests
1 parent 50a7922 commit 885773b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/basictests.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,9 @@ end
225225
P1 = Diagonal(s1)
226226
P2 = Diagonal(s2)
227227

228+
@test LinearSolve.ComposePreconditioner(P1,nothing) === P1
229+
@test LinearSolve.ComposePreconditioner(nothing,P1) === P1
230+
228231
P = LinearSolve.ComposePreconditioner(P1,P2)
229232

230233
# ComposePreconditioner

0 commit comments

Comments
 (0)