Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

centralmoment and MonteCarlo? #61

Open
sdwfrost opened this issue Feb 10, 2022 · 0 comments
Open

centralmoment and MonteCarlo? #61

sdwfrost opened this issue Feb 10, 2022 · 0 comments

Comments

@sdwfrost
Copy link

Does centralmoment only work for Koopman and not MonteCarlo? For the example in the readme...

julia> centralmoment(2, g, prob, u0_dist, p_dist, MonteCarlo(), Tsit5(); trajectories = 100_000)
ERROR: type Array has no field u
Stacktrace:
 [1] getproperty(x::Vector{Float64}, f::Symbol)
   @ Base ./Base.jl:33
 [2] centralmoment(::Int64, ::typeof(g), ::ODEProblem{Vector{Float64}, Tuple{Float64, Float64}, true, Vector{Float64}, ODEFunction{true, typeof(f!), LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing}, Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, SciMLBase.StandardODEProblem}, ::Vararg{Any, N} where N; kwargs::Base.Iterators.Pairs{Symbol, Int64, Tuple{Symbol}, NamedTuple{(:trajectories,), Tuple{Int64}}})
   @ DiffEqUncertainty ~/.julia/packages/DiffEqUncertainty/IFrAT/src/koopman.jl:142
 [3] top-level scope
   @ none:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant