Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Small bug in bodies inheritance #759

Closed
jorgepiloto opened this issue Aug 17, 2019 · 1 comment
Closed

Small bug in bodies inheritance #759

jorgepiloto opened this issue Aug 17, 2019 · 1 comment

Comments

@jorgepiloto
Copy link
Member

馃悶 Problem

While working with SSO orbits I discovered a bug 馃悶

Earth.angular_velocity

Following error is raised:

AttributeError: '_Earth' object has no attribute 'angular_velocity'

This is because Earth inherits from _Earth and this one from _Body instead of Body, loosing last attributes introduced in #746 . Same error will be raised with other SS bodies.

馃搵 Steps to solve the problem

Inherit different private Solar System bodies classes from Body instead of _Body 馃殌

@astrojuanlu
Copy link
Member

This was fixed in #763.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants