I think tests are passing again

This commit is contained in:
Connor
2021-08-25 16:26:32 -06:00
parent 7f3df275e9
commit 54f2a5cb7f
3 changed files with 10 additions and 5 deletions

View File

@@ -12,8 +12,9 @@ function single_shoot(start::Vector{Float64},
t0::Float64,
tf::Float64,
x0::AbstractVector,
tol=1e-2)
tol=1e-8)
n::Int = length(x0)/3
function f!(F,x)
F[1:6] .= prop(treat_inputs(x), start, craft, μ, tf-t0)[1][end,:] - final
F[7:3n] .= 0.