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: dc59bf1e8327
Choose a base ref
...
head repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9cca4f2e1505
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Aug 22, 2020

  1. Move the template defaults.

    pleroy committed Aug 22, 2020
    Copy the full SHA
    46e0777 View commit details
  2. Merge pull request #2688 from pleroy/Clang

    Move the template defaults to try to get the code to link with Clang
    pleroy authored Aug 22, 2020
    Copy the full SHA
    9cca4f2 View commit details
Showing with 4 additions and 4 deletions.
  1. +2 −2 mathematica/mathematica.hpp
  2. +1 −1 numerics/poisson_series.hpp
  3. +1 −1 numerics/polynomial.hpp
4 changes: 2 additions & 2 deletions mathematica/mathematica.hpp
Original file line number Diff line number Diff line change
@@ -210,14 +210,14 @@ std::string ToMathematica(R ref,
// mathematica.hpp, so the default will properly be on the first declaration.
template<typename V, typename A, int d,
template<typename, typename, int> class E,
typename OptionalExpressIn = std::nullopt_t>
typename OptionalExpressIn /*= std::nullopt_t*/>
std::string ToMathematica(
PolynomialInMonomialBasis<V, A, d, E> const& polynomial,
OptionalExpressIn express_in /*= std::nullopt*/);

template<typename V, int d,
template<typename, typename, int> class E,
typename OptionalExpressIn = std::nullopt_t>
typename OptionalExpressIn /*= std::nullopt_t*/>
std::string ToMathematica(PoissonSeries<V, d, E> const& series,
OptionalExpressIn express_in /*= std::nullopt*/);

2 changes: 1 addition & 1 deletion numerics/poisson_series.hpp
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ FORWARD_DECLARE_FUNCTION_FROM(
mathematica,
TEMPLATE(typename Value, int degree_,
template<typename, typename, int> class Evaluator,
typename OptionalExpressIn) std::string,
typename OptionalExpressIn= std::nullopt_t) std::string,
ToMathematica,
(numerics::PoissonSeries<Value, degree_, Evaluator> const& series,
OptionalExpressIn express_in = std::nullopt));
2 changes: 1 addition & 1 deletion numerics/polynomial.hpp
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ FORWARD_DECLARE_FUNCTION_FROM(
mathematica,
TEMPLATE(typename Value, typename Argument, int degree_,
template<typename, typename, int> class Evaluator,
typename OptionalExpressIn) std::string,
typename OptionalExpressIn = std::nullopt_t) std::string,
ToMathematica,
(numerics::
PolynomialInMonomialBasis<Value, Argument, degree_, Evaluator> const&