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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A bug in ModelNBody.cpp #2

Open
DJLinux opened this issue Mar 23, 2018 · 1 comment
Open

A bug in ModelNBody.cpp #2

DJLinux opened this issue Mar 23, 2018 · 1 comment
Labels

Comments

@DJLinux
Copy link

DJLinux commented Mar 23, 2018

In file: ModelNBody.cpp method: ModelNBody::Init()

m_center.y += st.x * st_aux.mass;
must be:
m_center.y += st.y * st_aux.mass;

DJ

@beltoforion
Copy link
Owner

Yes that sounds plausible. But it doesn't really matter since this setup is symmetric. Nevertheless good find, thank you for reporting. Took only three years for someone to spot it.

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

No branches or pull requests

2 participants