Skip to content

Commit 47ea61c

Browse files
update Monte -> Ensemble
1 parent 216bfc5 commit 47ea61c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_on_monte.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using DiffEqParamEstim, OrdinaryDiffEq, StochasticDiffEq, ParameterizedFunctions,
2-
DiffEqBase, RecursiveArrayTools, DiffEqMonteCarlo
2+
DiffEqBase, RecursiveArrayTools
33
using Test
44

55
pf_func = function (du,u,p,t)
@@ -17,7 +17,7 @@ t = collect(range(0, stop=10, length=200))
1717
randomized = VectorOfArray([(sol(t[i]) + .01randn(2)) for i in 1:length(t)])
1818
data = convert(Array,randomized)
1919

20-
monte_prob = MonteCarloProblem(prob)
20+
monte_prob = EnsembleProblem(prob)
2121
obj = build_loss_objective(monte_prob,Tsit5(),L2Loss(t,data),maxiters=10000,
2222
verbose=false,num_monte=5)
2323

@@ -32,7 +32,7 @@ end
3232
prob = SDEProblem(pf_func,pg_func,u0,tspan,p)
3333
sol = solve(prob,SRIW1())
3434

35-
monte_prob = MonteCarloProblem(prob)
35+
monte_prob = EnsembleProblem(prob)
3636

3737
# Too stochastic for CI
3838
#=

0 commit comments

Comments
 (0)