Skip to content

Commit cb99f86

Browse files
committed
srand -> Random.seed!
1 parent 00c0c8e commit cb99f86

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ode/ode_premade_problems.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using DiffEqBase, ParameterizedFunctions, DiffEqOperators, Random, LinearAlgebra
22
using Markdown
33

4-
srand(100)
4+
Random.seed!(100)
55

66
#ODE Example Problems
77
export prob_ode_linear, prob_ode_bigfloatlinear, prob_ode_2Dlinear,

src/ode/ode_simple_nonlinear_prob.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ prob_ode_pleiades = ODEProblem(pleiades,[3.0,3.0,-1.0,-3.0,2.0,-2.0,2.0,3.0,-3.0
242242

243243

244244

245-
srand(100)
245+
Random.seed!(100)
246246
const mm_A = rand(4,4)
247247
mm_linear = function (du,u,p,t)
248248
mul!(du,mm_A,u)

0 commit comments

Comments
 (0)