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 5ae430d commit 6571149Copy full SHA for 6571149
DelayLotkaVolterra/VolterraExp.jl
@@ -191,11 +191,11 @@ plot!(a_solution)
191
# Look at long term prediction
192
t_long = (0.0, 50.0)
193
a_prob = ODEProblem(approx, u0, t_long, ps)
194
-a_solution = solve(a_prob, Tsit5(), saveat = 0.5) # Using higher tolerances here results in exit of julia
+a_solution = solve(a_prob, Tsit5()) # Using higher tolerances here results in exit of julia
195
plot(a_solution)
196
197
prob_true2 = ODEProblem(lotka, u0, t_long, p_)
198
-solution_long = solve(prob_true2, Tsit5(), saveat = 0.5)
+solution_long = solve(prob_true2, Tsit5(), saveat = a_solution.t)
199
plot!(solution_long)
200
201
0 commit comments