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

Commits on Apr 5, 2021

  1. Don't die on 0 fingerprint.

    pleroy committed Apr 5, 2021

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    c8b9138 View commit details
  2. Merge pull request #2942 from pleroy/Benchmark

    Don't die on 0 fingerprint
    pleroy authored Apr 5, 2021

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    db4cf94 View commit details
Showing with 3 additions and 2 deletions.
  1. +3 −2 ksp_plugin/plugin.cpp
5 changes: 3 additions & 2 deletions ksp_plugin/plugin.cpp
Original file line number Diff line number Diff line change
@@ -1291,8 +1291,9 @@ void Plugin::WriteToMessage(
not_null<serialization::Plugin*> const message) const {
LOG(INFO) << __FUNCTION__;
CHECK(!initializing_);
CHECK_NE(0, system_fingerprint_);
message->set_system_fingerprint(system_fingerprint_);
if (system_fingerprint_ != 0) {
message->set_system_fingerprint(system_fingerprint_);
}
ephemeris_->Prolong(current_time_);
std::map<not_null<Celestial const*>, Index const> celestial_to_index;
for (auto const& [index, owned_celestial] : celestials_) {