Skip to content

Commit

Permalink
bugfix in light travel delay
Browse files Browse the repository at this point in the history
  • Loading branch information
rodluger committed Sep 15, 2019
1 parent af3d159 commit 78a0b56
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions exoplanet/orbits/keplerian.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,7 @@ def get_relative_position(self, t, parallax=None, light_delay=False):
"""
if light_delay is False:
return tuple(
tt.squeeze(x)
for x in self._get_position(-self.a_planet, t, parallax)
tt.squeeze(x) for x in self._get_position(-self.a, t, parallax)
)
else:
return tuple(
Expand Down

0 comments on commit 78a0b56

Please sign in to comment.