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

Commits on Jul 1, 2020

  1. Try to make Clang happy.

    pleroy committed Jul 1, 2020
    Copy the full SHA
    7a11ad5 View commit details
  2. Merge pull request #2621 from pleroy/Clang

    Try to make Clang happy
    pleroy authored Jul 1, 2020
    Copy the full SHA
    5067f49 View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 numerics/polynomial_body.hpp
2 changes: 1 addition & 1 deletion numerics/polynomial_body.hpp
Original file line number Diff line number Diff line change
@@ -55,7 +55,7 @@ template<typename Argument, typename Tuple, std::size_t... indices>
constexpr auto
TupleIntegration<Argument, Tuple, std::index_sequence<indices...>>::Integrate(
Tuple const& tuple) {
static constexpr auto zero = std::tuple_element_t<0, Tuple>{} * Argument{};
constexpr auto zero = std::tuple_element_t<0, Tuple>{} * Argument{};
return std::make_tuple(
zero, std::get<indices>(tuple) / static_cast<double>(indices + 1)...);
}