Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small error in Orbit docstrings #590

Closed
jorgepiloto opened this issue Feb 26, 2019 · 2 comments

Comments

@jorgepiloto
Copy link
Member

commented Feb 26, 2019

馃悶 Problem

While working with other issues, I just discovered a small error in docstrings:

@property
def a(self):
"""Semilatus rectum. """
return self.p / (1 - self.ecc ** 2)
@property
def p(self):
"""Semimajor axis. """
return self._state.to_classical().p

These docstrings are exchanged 馃槄

馃挕 Possible solutions

Just place them into their corresponding functions. Very simple issue 馃槃

@Juanlu001

This comment has been minimized.

Copy link
Member

commented Feb 26, 2019

Ooops, good catch :)

@Juanlu001

This comment has been minimized.

Copy link
Member

commented Feb 28, 2019

Closed in #592.

@Juanlu001 Juanlu001 closed this Feb 28, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can鈥檛 perform that action at this time.