Skip to content

Commit

Permalink
Addresses Issue poliastro#295
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyasbapat committed Feb 23, 2018
1 parent 36379a9 commit 2731886
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/poliastro/twobody/orbit.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ def sample(self, values=None, function=propagate):
# This corresponds to r = 3p
nu_limit = np.arccos(-(1 - 1 / 3.) / self.ecc)
nu_values = np.linspace(-nu_limit, nu_limit, values)
nu_values = np.add(nu_values, nu_limit)

return self.sample(nu_values, function)

Expand Down

0 comments on commit 2731886

Please sign in to comment.