Skip to content

Commit a5009c9

Browse files
authored
Update index.jmd
1 parent 888e808 commit a5009c9

File tree

1 file changed

+1
-1
lines changed
  • tutorials/introduction-to-optimizationproblems

1 file changed

+1
-1
lines changed

tutorials/introduction-to-optimizationproblems/index.jmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ nlp_120 = OptimizationProblems.ADNLPProblems.woods(n=120)
6464
```
6565
One of the advantages of these problems is that they are type-stable. Indeed, one can specify the output type with the keyword `type` as follows.
6666
```julia
67-
nlp16_12 = OptimizationProblems.ADNLPProblems.woods(n=12, type=Val(Float16))
67+
nlp16_12 = OptimizationProblems.ADNLPProblems.woods(n=12, type=Float16)
6868
```
6969
Then, all the API will be compatible with the precised type.
7070
```julia

0 commit comments

Comments
 (0)