We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b832f2f commit 4cef511Copy full SHA for 4cef511
test/interface/default_solver_tests.jl
@@ -78,7 +78,7 @@ function swaplinear(u, p, t)
78
[u[2], u[1]].*p
79
end
80
swaplinearf = ODEFunction(swaplinear, mass_matrix=ones(2,2)-I(2))
81
-prob_swaplinear = ODEProblem(swaplinearf, rand(2), (0., 1.) 1.01)
+prob_swaplinear = ODEProblem(swaplinearf, rand(2), (0., 1.), 1.01)
82
sol = solve(prob_swaplinear, reltol=1e-7) # reltol must be set to avoid running into a bug with Rosenbrock23
83
@test all(isequal(4), sol.alg_choice)
84
# for some reason the timestepping here is different from regular Rodas5P (including the initial timestep)
0 commit comments