Skip to content

Commit fc76006

Browse files
author
oscarddssmith
committed
add inferred test
1 parent cbf273a commit fc76006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/interface/default_solver_tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ using OrdinaryDiffEq, Test, LinearSolve, LinearAlgebra, SparseArrays
33
f_2dlinear = (du, u, p, t) -> (@. du = p * u)
44

55
prob_ode_2Dlinear = ODEProblem(f_2dlinear, rand(4, 2), (0.0, 1.0), 1.01)
6-
sol = solve(prob_ode_2Dlinear)
6+
sol = @inferred solve(prob_ode_2Dlinear)
77

88
tsitsol = solve(prob_ode_2Dlinear, Tsit5())
99
# test that default isn't much worse than Tsit5 (we expect it to use Tsit5 for this).

0 commit comments

Comments
 (0)