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

Commits on May 3, 2020

  1. Default is a keyword.

    pleroy committed May 3, 2020
    Copy the full SHA
    cc4ce1a View commit details
  2. Merge pull request #2553 from pleroy/Default

    Default is a keyword
    pleroy authored May 3, 2020
    Copy the full SHA
    19ff17d View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 ksp_plugin/pile_up.cpp
4 changes: 2 additions & 2 deletions ksp_plugin/pile_up.cpp
Original file line number Diff line number Diff line change
@@ -67,10 +67,10 @@ constexpr Time kd_default = 0.0025 * Second;
// kd = 0.0025 s
// }
template<typename Q>
Q GetPIDFlagOr(std::string_view const name, Q const default) {
Q GetPIDFlagOr(std::string_view const name, Q const default_value) {
auto const values = Flags::Values(name);
if (values.empty()) {
return default;
return default_value;
} else {
return ParseQuantity<Q>(*values.cbegin());
}