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

Don't lose accuracy when computing the times in the integrators #1606

Merged
merged 8 commits into from Oct 15, 2017

Conversation

pleroy
Copy link
Member

@pleroy pleroy commented Oct 14, 2017

Fix #1595

@pleroy pleroy modified the milestone: 陈景润 Oct 14, 2017
@@ -497,9 +497,10 @@ TEST_P(EphemerisTest, EarthProbe) {
}
// The solution is a line, so the rounding errors dominate. Different
// compilers result in different errors and thus different numbers of steps.
EXPECT_THAT(probe_positions.size(), AnyOf(Eq(434), Eq(419), Eq(-1)));
EXPECT_THAT(probe_positions.size(),
AnyOf(Eq(434), Eq(419), Eq(400), Eq(379), Eq(-1)));
Copy link
Member

@eggrobin eggrobin Oct 14, 2017

Choose a reason for hiding this comment

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

Does this pass on linux? Also perhaps you should remove the old expectations.
What's up with the Eq(-1)? shouldn't vector::size be nonnegative?

@pleroy
Copy link
Member Author

pleroy commented Oct 15, 2017

retest this please

@eggrobin eggrobin added the LGTM label Oct 15, 2017
@pleroy pleroy merged commit 350dc21 into mockingbirdnest:master Oct 15, 2017
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