Skip to content

Commit 29c9780

Browse files
committed
fix huge sparse matrix test in autosparse detection
1 parent 9f05adf commit 29c9780

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/interface/autosparse_detection_tests.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,5 @@ prob = prob_ode_2Dlinear
1414
# Test that no dense matrices are made sparse
1515
diag_prob = ODEProblem((du, u, p, t) -> du .= -1.0 .* u, rand(Int(1e7)), (0, 1.0))
1616

17-
solve(diag_prob, Rodas5P(autodiff = ad), tspan = (0.0, 1e-8))
17+
@test_nowarn solve(diag_prob, Rodas5P(autodiff = ad, linsolve = LinearSolve.KrylovJL_GMRES()))
1818

19-
@test_nowarn solve(diag_prob, Rodas5P(autodiff = ad))
20-
21-
@test_nowarn solve(
22-
diag_prob, Rodas5P(auodiff = ad, linsolve = LinearSolve.KrylovJL_GMRES()))

0 commit comments

Comments
 (0)