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

Use Status in the integrators and expose apocalypses in the interface #1129

Merged
merged 14 commits into from
Sep 11, 2016

Conversation

pleroy
Copy link
Member

@pleroy pleroy commented Sep 11, 2016

Contributes to #1115.

const ::principia::base::Status _status = (expr); \
if (!_status.ok()) \
return _status; \
} while (0)
Copy link
Member

Choose a reason for hiding this comment

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

false (or #define FALSE 0 aaaaaaaargh)

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

"\\+8.22960000000000000e\\+06 s\\. The last position is "
"\\{.*\\} and the last velocity is \\{.*\\}. An apocalypse "
"occurred and two celestials probably collided because your "
"solar system is unstable\\."));
Copy link
Member

Choose a reason for hiding this comment

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

Would raw strings be more readable? https://xkcd.com/1638/

Copy link
Member Author

@pleroy pleroy Sep 11, 2016

Choose a reason for hiding this comment

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

Nope.

@eggrobin eggrobin added the LGTM label Sep 11, 2016
@pleroy pleroy merged commit 9ca2c94 into mockingbirdnest:master Sep 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants