Skip to content

Commit 2658da5

Browse files
author
jcaillau
committed
corrected Poisson call
1 parent ef6ab44 commit 2658da5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/goddard.jl

+3-3
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ u1 = 1
8686

8787
H0 = Lift(F0); H1 = Lift(F1)
8888
#H0(x, p) = Lift(F0)(x, p); H1(x, p) = Lift(F1)(x, p) # debug
89-
H01 = @Poisson { H0, H1 }
90-
H001 = @Poisson { H0, H01 }
91-
H101 = @Poisson { H1, H01 }
89+
H01 = @Lie { H0, H1 }
90+
H001 = @Lie { H0, H01 }
91+
H101 = @Lie { H1, H01 }
9292
us(x, p) = -H001(x, p) / H101(x, p)
9393

9494
g(x) = vmax - constraint(ocp, :eq2)(x, -1) # -1 for tf, not used

0 commit comments

Comments
 (0)