Skip to content

Commit 0b43155

Browse files
committed
fix s
1 parent d615ee8 commit 0b43155

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/indirect/test_goddard_indirect.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ function test_goddard_indirect()
4848
t3 = 0.10157134842432228
4949
tf = 0.20204744057100849
5050

51-
# test shooting resolution with solve from NonlinearSolve
51+
# test shooting function with solve from NonlinearSolve
52+
s = zeros(eltype(p0), 7)
5253
ξ0 = [p0; t1; t2; t3; tf]
5354
shoot!(s, ξ, λ) = shoot!(s, ξ[1:3], ξ[4], ξ[5], ξ[6], ξ[7])
5455
prob = NonlinearProblem(shoot!, ξ0)

0 commit comments

Comments
 (0)