We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d615ee8 commit 0b43155Copy full SHA for 0b43155
1 file changed
test/indirect/test_goddard_indirect.jl
@@ -48,7 +48,8 @@ function test_goddard_indirect()
48
t3 = 0.10157134842432228
49
tf = 0.20204744057100849
50
51
- # test shooting resolution with solve from NonlinearSolve
+ # test shooting function with solve from NonlinearSolve
52
+ s = zeros(eltype(p0), 7)
53
ξ0 = [p0; t1; t2; t3; tf]
54
shoot!(s, ξ, λ) = shoot!(s, ξ[1:3], ξ[4], ξ[5], ξ[6], ξ[7])
55
prob = NonlinearProblem(shoot!, ξ0)
0 commit comments