Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
eggrobin committed Mar 23, 2024
1 parent 3a2c7d7 commit 64a4977
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions numerics/polynomial_in_monomial_basis_body.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -436,9 +436,7 @@ template<typename Value_, typename Argument_, int degree_,
PolynomialInMonomialBasis<Primitive<Value_, Argument_>, Argument_,
degree_ + 1, Evaluator>
PolynomialInMonomialBasis<Value_, Argument_, degree_, Evaluator>::Primitive()
const
requires additive_group<Value>
{
const requires additive_group<Value> {
return PolynomialInMonomialBasis<
quantities::_named_quantities::Primitive<Value, Argument>,
Argument,
Expand All @@ -452,9 +450,7 @@ template<typename Value_, typename Argument_, int degree_,
Primitive<Value_, Argument_>
PolynomialInMonomialBasis<Value_, Argument_, degree_, Evaluator>::Integrate(
Argument const& argument1,
Argument const& argument2) const
requires additive_group<Value>
{
Argument const& argument2) const requires additive_group<Value> {
// + 2 is to take into account the truncation resulting from integer division.
return _quadrature::GaussLegendre<(degree_ + 2) / 2>(*this,
argument1, argument2);
Expand Down

0 comments on commit 64a4977

Please sign in to comment.