Skip to content

Commit 4cef511

Browse files
author
oscarddssmith
committed
typo
1 parent b832f2f commit 4cef511

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
@@ -78,7 +78,7 @@ function swaplinear(u, p, t)
7878
[u[2], u[1]].*p
7979
end
8080
swaplinearf = ODEFunction(swaplinear, mass_matrix=ones(2,2)-I(2))
81-
prob_swaplinear = ODEProblem(swaplinearf, rand(2), (0., 1.) 1.01)
81+
prob_swaplinear = ODEProblem(swaplinearf, rand(2), (0., 1.), 1.01)
8282
sol = solve(prob_swaplinear, reltol=1e-7) # reltol must be set to avoid running into a bug with Rosenbrock23
8383
@test all(isequal(4), sol.alg_choice)
8484
# for some reason the timestepping here is different from regular Rodas5P (including the initial timestep)

0 commit comments

Comments
 (0)