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

Commits on Nov 22, 2020

  1. Fix errors found by Clang.

    pleroy committed Nov 22, 2020
    Copy the full SHA
    050f731 View commit details
  2. Merge pull request #2793 from pleroy/Clang

    Fix errors found by Clang
    pleroy authored Nov 22, 2020
    Copy the full SHA
    3b6c2cb View commit details
Showing with 5 additions and 5 deletions.
  1. +5 −5 numerics/poisson_series_basis_body.hpp
10 changes: 5 additions & 5 deletions numerics/poisson_series_basis_body.hpp
Original file line number Diff line number Diff line change
@@ -110,7 +110,7 @@ Polynomial PolynomialGenerator<Polynomial, dimension>::UnitPolynomial(

template<typename Polynomial, int dimension>
template<typename Polynomials, int index>
static Polynomials PolynomialGenerator<Polynomial, dimension>::UnitPolynomials(
Polynomials PolynomialGenerator<Polynomial, dimension>::UnitPolynomials(
Instant const& origin) {
// Extract the parity, coordinate and the degree from |index|. The coordinate
// varies faster, so terms of the same parity and degree but different
@@ -158,10 +158,10 @@ std::array<Series, sizeof...(indices)> AperiodicSeriesGenerator<
Series,
degree, dimension,
std::index_sequence<indices...>>::BasisElements(Instant const& origin) {
return {
(Series(PolynomialGenerator<typename Series::AperiodicPolynomial,
dimension>::UnitPolynomial<indices>(origin),
{}))...};
return {(Series(
PolynomialGenerator<typename Series::AperiodicPolynomial,
dimension>::template UnitPolynomial<indices>(origin),
{}))...};
}