Skip to content

Commit

Permalink
ode
Browse files Browse the repository at this point in the history
  • Loading branch information
montyvesselinov committed Jul 25, 2024
1 parent c69a25e commit 9a81219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ode/ode.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Mads.madsinfo("Solve ODE ...")
times = collect(0:.1:100)
initialconditions = [1.,0.]
prob = OrdinaryDiffEq.ODEProblem(funcosc, initialconditions, (0.0,100.0))
sol = OrdinaryDiffEq.solve(prob,Tsit5(), saveat=times)
sol = OrdinaryDiffEq.solve(prob, Tsit5(); saveat=times)
ys = convert(Array,sol)

# draw initial solution
Expand Down

0 comments on commit 9a81219

Please sign in to comment.