Skip to content

Commit ba143b0

Browse files
committed
Make sure the test problem is well-conditioned
1 parent 6ccb4aa commit ba143b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/idrs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ srand(1234567)
2828
end
2929

3030
@testset "SparseMatrixCSC{$T}" for T in (Float64, Complex128)
31-
A = sprand(T, n, n, 0.5) + I
31+
A = sprand(T, n, n, 0.5) + n * I
3232
b = rand(T, n)
3333
tol = eps(real(T))
3434

0 commit comments

Comments
 (0)