Skip to content

Commit

Permalink
rm constexpr with non iso constexpr functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Fowlie committed Oct 31, 2019
1 parent 402a997 commit c0b3e4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/derivatives.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@
Found in Mathematica from
`-Sum[1/n^2*Limit[D[xsq*BesselK[2,Sqrt[xsq]*n],xsq],xsq->0],{n,1,Infinity}]`
*/
constexpr double D1_J_B_0 = pow(M_PI, 2) / 12.;
const double D1_J_B_0 = gsl_pow_2(M_PI) / 12.;
/*!
First derivatives of thermal functions with respect to
\f$y^2\f$ at \f$y^2 \to 0\f$.
Found in Mathematica from
`-Sum[(-1)^n/n^2*Limit[D[xsq*BesselK[2, Sqrt[xsq]*n], xsq], xsq -> 0], {n, 1, Infinity}]`
*/
constexpr double D1_J_F_0 = -pow(M_PI, 2) / 24.;
const double D1_J_F_0 = -gsl_pow_2(M_PI) / 24.;
/*! Second derivative diverges for \f$y^2\to0\f$ - return infinity */
constexpr double INF = std::numeric_limits<double>::infinity();
const double INF = std::numeric_limits<double>::infinity();


// Bessel function representation of derivatives with respect to \f$y^2\f$.
Expand Down

0 comments on commit c0b3e4a

Please sign in to comment.