Skip to content

Commit 90a3f88

Browse files
SebastianM-Cclaude
andcommitted
Fix typo in OptimizationLBFGSB docs
Co-authored-by: Claude <noreply@anthropic.com>
1 parent f8f672a commit 90a3f88

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/src/getting_started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ p = [1.0, 100.0]
2222
optf = OptimizationFunction(rosenbrock, AutoZygote())
2323
prob = OptimizationProblem(optf, u0, p)
2424
25-
sol = solve(prob, OptimizationLBFGSB.LBFGS())
25+
sol = solve(prob, OptimizationLBFGSB.LBFGSB())
2626
```
2727

2828
```@example intro

docs/src/tutorials/certification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ end
1616
optf = OptimizationFunction(f, Optimization.AutoForwardDiff())
1717
prob = OptimizationProblem(optf, [0.4], structural_analysis = true)
1818
19-
sol = solve(prob, LBFGS(), maxiters = 1000)
19+
sol = solve(prob, OptimizationLBFGSB.LBFGSB(), maxiters = 1000)
2020
```
2121

2222
The result can be accessed as the `analysis_results` field of the solution.

docs/src/tutorials/remakecomposition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ This is a good start can we converge to the global optimum?
4747

4848
```@example polyalg
4949
prob = remake(prob, u0 = res1.minimizer)
50-
res2 = solve(prob, LBFGS(), maxiters = 100)
50+
res2 = solve(prob, OptimizationLBFGSB.LBFGSB(), maxiters = 100)
5151
5252
@show res2.objective
5353
```

0 commit comments

Comments
 (0)