Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 274af43e0529
Choose a base ref
...
head repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2505bf9b6fc2
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Sep 7, 2020

  1. Fix tolerances for Clang.

    pleroy committed Sep 7, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    377cd61 View commit details

Commits on Sep 8, 2020

  1. Merge pull request #2715 from pleroy/Tolerances

    Fix tolerances for Clang
    pleroy authored Sep 8, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2505bf9 View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 numerics/poisson_series_test.cpp
4 changes: 2 additions & 2 deletions numerics/poisson_series_test.cpp
Original file line number Diff line number Diff line change
@@ -378,11 +378,11 @@ TEST_F(PiecewisePoissonSeriesTest, ActionMultiorigin) {
auto const d1 = p - pp_;
auto const d2 = pp_ - p;
EXPECT_THAT(d1(t0_ + 0.5 * Second),
AlmostEquals((2 + Sqrt(2)) / 4, 2));
AlmostEquals((2 + Sqrt(2)) / 4, 0, 2));
EXPECT_THAT(d1(t0_ + 1.5 * Second),
AlmostEquals((6 + 5 * Sqrt(2)) / 4, 0));
EXPECT_THAT(d2(t0_ + 0.5 * Second),
AlmostEquals((-2 - Sqrt(2)) / 4, 2));
AlmostEquals((-2 - Sqrt(2)) / 4, 0, 2));
EXPECT_THAT(d2(t0_ + 1.5 * Second),
AlmostEquals((-6 - 5 * Sqrt(2)) / 4, 0));
}