Skip to content

Commit f3a7269

Browse files
Update docs/src/tutorials/ensemble.md
1 parent 542b473 commit f3a7269

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/tutorials/ensemble.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ prob = OptimizationProblem(optf, x0, [1.0, 100.0])
2121
2222
x0s = [x0, x0 .+ rand(2), x0 .+ rand(2), x0 .+ rand(2)]
2323
function prob_func(prob, i, repeat)
24-
remake(prob, u0 = x0s)
24+
remake(prob, u0 = x0s[1])
2525
end
2626
2727
ensembleprob = Optimization.EnsembleProblem(prob; prob_func)

0 commit comments

Comments
 (0)