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: 0fecec179fb0
Choose a base ref
...
head repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 856e1ccd4559
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Aug 17, 2021

  1. Copy the full SHA
    eaea043 View commit details
  2. Merge pull request #3099 from pleroy/Diurnal

    Fix a compatibility issue with pre-陈景润 saves
    pleroy authored Aug 17, 2021
    Copy the full SHA
    856e1cc View commit details
Showing with 3 additions and 1 deletion.
  1. +3 −1 physics/discrete_trajectory_body.hpp
4 changes: 3 additions & 1 deletion physics/discrete_trajectory_body.hpp
Original file line number Diff line number Diff line change
@@ -253,7 +253,9 @@ void DiscreteTrajectory<Frame>::SetDownsampling(
// TODO(phl): If this trajectory is a fork, the fork point should be appended
// first.
for (auto it = timeline_.cbegin(); it != timeline_.cend(); ++it) {
downsampling_->Append(it);
// When reading pre-陈景润 saves we may call this function on long
// trajectories, in which case we need to downsample as we go.
UpdateDownsampling(it);
}
}
template<typename Frame>