Skip to content
This repository was archived by the owner on Jun 21, 2024. It is now read-only.
This repository was archived by the owner on Jun 21, 2024. It is now read-only.

Error in the example of interactive_evolution function #121

@subhajitbn

Description

@subhajitbn

This is the error that I keep getting while trying to run the example in interactive trajectory evolution.

julia> include("lorenz.jl")
ERROR: LoadError: MethodError: no method matching interactive_evolution(::ContinuousDynamicalSystem{false, SVector{3, Float64}, 3, typeof(DynamicalSystemsBase.Systems.loop), Vector{Float64}, typeof(DynamicalSystemsBase.Systems.loop_jac), SMatrix{3, 3, Float64, 9}, false}, ::Vector{Vector{Float64}}; ps=Dict{Int64, StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}, Int64}}(2 => 10.0:0.1:50.0, 3 => 1.0:0.01:10.0, 1 => 1.0:0.1:30.0), idxs=(1, 2, 3), tail=1000, diffeq=(alg = Tsit5(stage_limiter! = trivial_limiter!, step_limiter! = trivial_limiter!, thread = static(false)), dt = 0.01, adaptive = false), pnames=Dict(2 => "ρ", 3 => "β", 1 => "σ"), lims=((-30, 30), (-30, 30), (0, 100)))
Closest candidates are:
  interactive_evolution(::DynamicalSystem{IIP}, ::Any; transform, idxs, colors, tail, diffeq, plotkwargs, m, lims) where IIP at C:\Users\subha\.julia\packages\InteractiveDynamics\Xw3Ei\src\chaos\trajanim.jl:42 got unsupported keyword arguments "ps", "pnames"
Stacktrace:
 [1] kwerr(::NamedTuple{(:ps, :idxs, :tail, :diffeq, :pnames, :lims), Tuple{Dict{Int64, StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}, Int64}}, Tuple{Int64, Int64, Int64}, Int64, NamedTuple{(:alg, :dt, :adaptive), Tuple{Tsit5{typeof(OrdinaryDiffEq.trivial_limiter!), typeof(OrdinaryDiffEq.trivial_limiter!), Static.False}, Float64, Bool}}, Dict{Int64, String}, Tuple{Tuple{Int64, Int64}, Tuple{Int64, Int64}, Tuple{Int64, Int64}}}}, ::Function, ::ContinuousDynamicalSystem{false, SVector{3, Float64}, 3, typeof(DynamicalSystemsBase.Systems.loop), Vector{Float64}, typeof(DynamicalSystemsBase.Systems.loop_jac), SMatrix{3, 3, Float64, 9}, false}, ::Vector{Vector{Float64}})
   @ Base .\error.jl:165
 [2] top-level scope
   @ C:\Users\subha\OneDrive\Desktop\Code\julia\Lorenz\lorenz.jl:28
 [3] include(fname::String)
   @ Base.MainInclude .\client.jl:476
 [4] top-level scope
   @ REPL[7]:1
in expression starting at C:\Users\subha\OneDrive\Desktop\Code\julia\Lorenz\lorenz.jl:28

I can't quite figure out whether there is something that I'm doing wrong. Any help is much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions