I think I'm pretty much at 2b now
This commit is contained in:
@@ -113,11 +113,15 @@ function prop_nlsolve(ΔVs::Matrix{T},
|
||||
time::Float64) where {T <: Real, S <: Real}
|
||||
|
||||
n = size(ΔVs)[1]
|
||||
for i in 1:n
|
||||
state, craft = prop_one(ΔVs[i,:], state, craft, μ, time/n)
|
||||
try
|
||||
for i in 1:n
|
||||
state, craft = prop_one(ΔVs[i,:], state, craft, μ, time/n)
|
||||
end
|
||||
return state
|
||||
catch
|
||||
return [0., 0., 0., 0., 0., 0.]
|
||||
end
|
||||
|
||||
return state
|
||||
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user