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

Trajectory #124

Merged
merged 23 commits into from
Aug 23, 2014
Merged

Trajectory #124

merged 23 commits into from
Aug 23, 2014

Conversation

pleroy
Copy link
Member

@pleroy pleroy commented Aug 23, 2014

No description provided.

@@ -48,9 +53,10 @@ class NBodySystem {

std::unique_ptr<Bodies const> const massive_bodies_; // Never null.
std::unique_ptr<Bodies const> const massless_bodies_; // Never null.
std::unique_ptr<Trajectories const> const trajectories_; // Never null.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider std::reference_wrapper, but that's a job for another CL.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not even sure we need std::reference_wrapper, but yes, these std::unique_ptr look rather silly.

@eggrobin eggrobin added the LGTM label Aug 23, 2014
@eggrobin eggrobin closed this Aug 23, 2014
@pleroy pleroy reopened this Aug 23, 2014
eggrobin added a commit that referenced this pull request Aug 23, 2014
@eggrobin eggrobin merged commit 3131357 into mockingbirdnest:master Aug 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants