Skip to content

Commit 562b555

Browse files
Update README.md
1 parent 530a7f1 commit 562b555

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ unified interface.
3030
```
3131

3232
```julia
33-
f = OptimizationFunction(rosenbrock, GalacticOptim.AutoForwardDiff(), p)
33+
f = OptimizationFunction(rosenbrock, GalacticOptim.AutoForwardDiff())
3434
prob = OptimizationProblem(f, x0, p)
3535
sol = solve(prob,BFGS())
3636
```
@@ -58,7 +58,7 @@ choice.
5858
### API Documentation
5959

6060
```julia
61-
OptimizationFunction(f, AutoForwardDiff(), p = DiffEqBase.NullParameters();
61+
OptimizationFunction(f, AutoForwardDiff();
6262
grad = nothing,
6363
hes = nothing,
6464
hv = nothing,

0 commit comments

Comments
 (0)