Skip to content

Commit 4f58b46

Browse files
author
jcaillau
committed
goddard.jl grid-size change
1 parent 45fa1fb commit 4f58b46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/goddard.jl

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ f(x, u) = F0(x) + u[1]*F1(x)
5151
constraint!(ocp, :dynamics, f)
5252

5353
# Solve
54-
sol = solve(ocp)
54+
N = 30
55+
sol = solve(ocp, grid_size=N)
5556
plot(sol)
5657

5758
## Indirect solve

0 commit comments

Comments
 (0)