Skip to content

Commit c7dea0a

Browse files
committed
diagonal test
1 parent 4ab9c6a commit c7dea0a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/basictests.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ end
4444
y = solve(prob1)
4545
@test A1 * y b1
4646

47+
_prob = LinearProblem(Diagonal(A1), b1; u0=x1)
48+
y = solve(_prob)
49+
@test A1 * y b1
50+
4751
_prob = LinearProblem(SymTridiagonal(A1), b1; u0=x1)
4852
y = solve(_prob)
4953
@test A1 * y b1

0 commit comments

Comments
 (0)