We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
According to the SciML tutorial,
https://github.com/SciML/SciMLTutorials.jl/blob/e8c8c3e51703fd08b874abbbc7b52ed895d0cb6f/tutorials/DiffEqUncertainty/01-expectation_introduction.jmd#L111
However, when I actually tried this, I got the right answer:
u0_dist = [Normal(3.0,2.0)] expectation(g, prob, u0_dist, p, Koopman(), Tsit5())
u: 1-element Vector{Float64}: 0.9035426476099575
Compared with the analytical solution:
exp(p[1]*4.0)*mean(u0_dist[1])
0.9035826357366064
The text was updated successfully, but these errors were encountered:
I am running Julia 1.8 with Plots v1.31.7, DifferentialEquations v7.2.0 and SciMLBase v1.51.1
Sorry, something went wrong.
yeah it's getting a lot of work. Good to hear this is now fixed. Moving this to SciMLExpectations where it will be doctested as https://scimlexpectations.sciml.ai/dev/tutorials/introduction/
No branches or pull requests
According to the SciML tutorial,
https://github.com/SciML/SciMLTutorials.jl/blob/e8c8c3e51703fd08b874abbbc7b52ed895d0cb6f/tutorials/DiffEqUncertainty/01-expectation_introduction.jmd#L111
However, when I actually tried this, I got the right answer:
Compared with the analytical solution:
0.9035826357366064
The text was updated successfully, but these errors were encountered: