Skip to content

Commit 16ac07f

Browse files
committed
use default rng for thread tests
1 parent a76170e commit 16ac07f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/thread_safety.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ let
2424
ode_prob = ODEProblem(f!, u_0, (0.0, 10))
2525
rate(u, p, t) = 1.0
2626
jump!(integrator) = nothing
27-
jump_prob = JumpProblem(ode_prob, Direct(), VariableRateJump(rate, jump!); rng)
27+
jump_prob = JumpProblem(ode_prob, Direct(), VariableRateJump(rate, jump!))
2828
prob_func(prob, i, repeat) = deepcopy(prob)
2929
prob = EnsembleProblem(jump_prob,prob_func = prob_func)
3030
solve(prob, Tsit5(), EnsembleThreads(), trajectories=10)

0 commit comments

Comments
 (0)