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 our cube root. #1806

Merged
merged 14 commits into from
May 5, 2018
Merged

Use our cube root. #1806

merged 14 commits into from
May 5, 2018

Conversation

eggrobin
Copy link
Member

@eggrobin eggrobin commented May 2, 2018

Following up on #1802.
This is part of the effort on #1760.

@@ -254,29 +255,29 @@ TEST_F(KSPResonanceTest, MSVC_ONLY_TEST(Stock)) {
auto const periods_at_epoch =
ComputePeriods(*ephemeris, ephemeris->t_min());
EXPECT_THAT(RelativeError(periods_at_epoch.at(laythe_),
expected_periods_.at(laythe_)), Lt(1.5e-3));
expected_periods_.at(laythe_)), IsNear(1.36e-3));
Copy link
Member

Choose a reason for hiding this comment

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

Use the same number of digits as in the original code.

@pleroy pleroy added the LGTM label May 4, 2018
@eggrobin eggrobin merged commit ff4f268 into mockingbirdnest:master May 5, 2018
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.

2 participants