Skip to content

Commit

Permalink
Yet another minor fix in research/2024/orbitdetermination.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
LuEdRaMo committed Dec 17, 2024
1 parent 7856416 commit cb9ddcf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions research/2024/orbitdetermination.jl
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,14 @@ end
end
# Stage 2: fit a subset of the considered astrometry
for (i, j) in enumerate(iter)
subfit!(od) || break
# Unfold
params, initcond = j
# Initial orbit determination
subfit!(od) || break
sols[i+4] = orbitdetermination(od, params; initcond)
# Add remaining observations
NEOs.update!(od, radec)
# Add remaining observations
iszero(sols[i+4]) && continue
sols[i+4] = orbitdetermination(od, sols[i+4], params)
# Termination condition
if length(sols[i+4].res) == length(radec) &&
Expand Down

0 comments on commit cb9ddcf

Please sign in to comment.