Skip to content

Commit d07e0a2

Browse files
authored
Update tutorial-discretisation.md
1 parent 0ecdb87 commit d07e0a2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/src/tutorial-discretisation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ schemes = [
9090
]
9191
for scheme in schemes
9292
bt = @btimed solve($ocp; disc_method=$scheme, tol=1e-8, display=false)
93-
sol = bt.value
93+
local sol = bt.value
9494
push!(solutions, (scheme, sol))
9595
push!(data, (
9696
Scheme=scheme,
@@ -149,7 +149,7 @@ for adnlp_backend in backends
149149
# Discretize the problem with a large grid size and Gauss-Legendre method
150150
bt = @btimed direct_transcription($ocp;
151151
disc_method=:gauss_legendre_3,
152-
grid_size=10,
152+
grid_size=1000,
153153
adnlp_backend=$adnlp_backend,
154154
)
155155
docp, nlp = bt.value

0 commit comments

Comments
 (0)