diff --git a/docs/src/examples/optimal_control/optimal_control.md b/docs/src/examples/optimal_control/optimal_control.md index 49f3ba2a0..e353cb4d8 100644 --- a/docs/src/examples/optimal_control/optimal_control.md +++ b/docs/src/examples/optimal_control/optimal_control.md @@ -40,6 +40,7 @@ using Lux, ComponentArrays, OrdinaryDiffEq, Optimization, OptimizationOptimJL, OptimizationOptimisers, SciMLSensitivity, Zygote, Plots, Statistics, Random rng = Random.default_rng() +Random.seed!(rng, 0) tspan = (0.0f0, 8.0f0) ann = Chain(Dense(1, 32, tanh), Dense(32, 32, tanh), Dense(32, 1))