Skip to content

Commit 9518844

Browse files
authored
Update tutorial-solve.md
1 parent 14b541b commit 9518844

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/src/tutorial-solve.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@ ocp = @def begin
4848
end
4949
```
5050

51-
```@repl main_repl
52-
solve(ocp)
51+
```julia
52+
julia> solve(ocp)
53+
ERROR: ExtensionError. Please make: julia> using NLPModelsIpopt
5354
```
5455

5556
As you can see, an error occured since we need the package [NLPModelsIpopt.jl](https://jso.dev/NLPModelsIpopt.jl).

0 commit comments

Comments
 (0)