Skip to content

Commit 4952ac7

Browse files
put a random seed on there
1 parent a263d14 commit 4952ac7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/src/examples/optimal_control/optimal_control.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ using Lux, ComponentArrays, OrdinaryDiffEq, Optimization, OptimizationOptimJL,
4040
OptimizationOptimisers, SciMLSensitivity, Zygote, Plots, Statistics, Random
4141
4242
rng = Random.default_rng()
43+
Random.seed!(rng, 0)
4344
tspan = (0.0f0, 8.0f0)
4445
4546
ann = Chain(Dense(1, 32, tanh), Dense(32, 32, tanh), Dense(32, 1))

0 commit comments

Comments
 (0)