We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 542b473 commit f3a7269Copy full SHA for f3a7269
docs/src/tutorials/ensemble.md
@@ -21,7 +21,7 @@ prob = OptimizationProblem(optf, x0, [1.0, 100.0])
21
22
x0s = [x0, x0 .+ rand(2), x0 .+ rand(2), x0 .+ rand(2)]
23
function prob_func(prob, i, repeat)
24
- remake(prob, u0 = x0s)
+ remake(prob, u0 = x0s[1])
25
end
26
27
ensembleprob = Optimization.EnsembleProblem(prob; prob_func)
0 commit comments