Skip to content

Commit 50c97ea

Browse files
committed
Switch oval2 qmax test to SROCKEM
1 parent c0bf9f8 commit 50c97ea

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

benchmarks/AdaptiveSDE/qmaxDetermination.jmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ DiffEqBase.calculate_ensemble_errors(test_mc);
5454
for k in eachindex(qs)
5555
global times
5656
Random.seed!(99)
57-
adaptiveTime = @elapsed sol = solve(oval2_ensemble, SOSRI(), EnsembleThreads();
57+
adaptiveTime = @elapsed sol = solve(oval2_ensemble, SROCKEM(), EnsembleThreads();
5858
dt = 1/2^(8), abstol = 2.0^(-15), reltol = 2.0^(-10), verbose = SciMLLogging.None(),
59-
maxiters = Int(1e6), force_dtmin = true,
60-
controller = PIController(SOSRI(); qmax = qs[k], gamma = 0.7),
59+
maxiters = Int(1e6),
60+
controller = PIController(SROCKEM(); qmax = qs[k], gamma = 0.7),
6161
trajectories = num_runs)
6262
numFails = sum(Int(any(isnan, sol.u[i]) || sol.u[i].t[end] != 1) for i in 1:num_runs)
6363
println("k was $k. The number of Adaptive Fails is $numFails. Elapsed time was $adaptiveTime")

0 commit comments

Comments
 (0)