Skip to content

Commit 2d8678d

Browse files
Capture KLU old failure in the test
1 parent 9cd45c6 commit 2d8678d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/zeroinittests.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@ Anz = deepcopy(A)
77
A.nzval .= 0
88
cache_kwargs = (; verbose = true, abstol = 1e-8, reltol = 1e-8, maxiter = 30)
99

10-
1110
function test_nonzero_init(alg=nothing)
1211
linprob = LinearProblem(A,b)
1312

14-
cache = init(linprob)
13+
cache = init(linprob,alg)
1514
cache = LinearSolve.set_A(cache, Anz)
16-
@show cache.A
17-
sol = solve(cache,nothing;cache_kwargs...)
15+
sol = solve(cache;cache_kwargs...)
1816
@test sol.u == b
1917
end
2018

0 commit comments

Comments
 (0)