Skip to content

Commit

Permalink
update new SDEProblem interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Hadrien committed Oct 7, 2023
1 parent 937df88 commit b693c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sde/sde_dynamical.jl
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ end
g_iip(du,u,p,t) = du .= g(u,p,t)

ff_harmonic = DynamicalSDEFunction(f1_harmonic,f2_harmonic,g)
prob1 = DynamicalSDEProblem(ff_harmonic,g,v0,u0,(0.0,5.0))
prob1 = DynamicalSDEProblem(ff_harmonic,v0,u0,(0.0,5.0))
sol1 = solve(prob1,BAOAB(gamma=gamma_mat);dt=1/10,save_noise=true)

prob2 = DynamicalSDEProblem(f1_harmonic_iip,f2_harmonic_iip,g_iip,v0,u0,(0.0,5.0); noise=NoiseWrapper(sol1.W))
Expand Down

0 comments on commit b693c91

Please sign in to comment.