Skip to content

Commit 0a22316

Browse files
committed
more sampled
1 parent 7934474 commit 0a22316

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/jumpsystem.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -441,13 +441,11 @@ let
441441
jprob = JumpProblem(jsys, oprob; rng, save_positions = (false, false))
442442

443443
times = range(0.0, tspan[2], length = 100)
444-
Nsims = 2000
444+
Nsims = 4000
445445
Xv = zeros(length(times))
446446
Yv = copy(Xv)
447447
for n in 1:Nsims
448448
sol = solve(jprob, Tsit5(); saveat = times)
449-
450-
# use direct indexing as much faster than symbolic indexing
451449
Xv .+= sol[1,:]
452450
Yv .+= sol[2,:]
453451
end

0 commit comments

Comments
 (0)