Skip to content

Commit 174fcf1

Browse files
committed
Fix sparse.md
1 parent 339e048 commit 174fcf1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/sparse.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ ucon = 0.5 * ones(T, ncon)
7878
7979
nlp = ADNLPModel!(f, x0, lvar, uvar, c!, lcon, ucon)
8080
```
81-
```@example
81+
```@example ex3
8282
J = get_sparsity_pattern(nlp, :jacobian)
8383
```
84-
```@example
84+
```@example ex3
8585
H = get_sparsity_pattern(nlp, :hessian)
8686
```
8787

0 commit comments

Comments
 (0)