From 45907c13a887d351a90e1504f4ffdbabb28524c9 Mon Sep 17 00:00:00 2001 From: Nathaniel Tellis Date: Thu, 5 Dec 2024 16:05:58 -0800 Subject: [PATCH] ensure orbits_abberated is an Orbits (sometimes it was becoming VariantOrbits) (#128) --- src/adam_core/propagator/propagator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adam_core/propagator/propagator.py b/src/adam_core/propagator/propagator.py index e0a2ed3..49095ab 100644 --- a/src/adam_core/propagator/propagator.py +++ b/src/adam_core/propagator/propagator.py @@ -104,7 +104,7 @@ def _add_light_time( lt_tol: float = 1e-12, max_iter: int = 10, ): - orbits_aberrated = orbits.empty() + orbits_aberrated = Orbits.empty() lts = np.zeros(len(orbits)) for i, (orbit, observer) in enumerate(zip(orbits, observers)): # Set the running variables