You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something is not working as intended here it seems.
julia>using DifferentialEquations
julia>f(x, p, t) =sin(t) .- x
f (generic function with 1 method)
julia> prob =ODEProblem(f, [1.0], (0, 10))
ODEProblem with uType Vector{Float64} and tType Int64. In-place:false
timespan: (0, 10)
u0:1-element Vector{Float64}:1.0
julia>init(prob)
ERROR: Default algorithm choices require DifferentialEquations.jl.
Please specify an algorithm (e.g., `solve(prob, Tsit5())` or
`init(prob, Tsit5())`for an ODE) or import DifferentialEquations
directly.
You can find the list of available solvers at https://diffeq.sciml.ai/stable/solvers/ode_solve/
and its associated pages.
Stacktrace:
[1-8] ⋮ internal
@ DiffEqBase
[9] init(::ODEProblem{Vector{Float64}, Tuple{Int64, Int64}, …})
@ DiffEqBase ~/.julia/packages/DiffEqBase/5U1Mr/src/solve.jl:393
Use `err` to retrieve the full stack trace.
julia>solve(prob)
retcode: Success
Interpolation: specialized 4th order "free" interpolation, specialized 2nd order "free" stiffness-aware interpolation
t:18-element Vector{Float64}:0.00.08707260550141684
The text was updated successfully, but these errors were encountered:
Something is not working as intended here it seems.
The text was updated successfully, but these errors were encountered: