From: Matthias Maier Date: Mon, 8 Jan 2024 14:25:55 +0000 (-0600) Subject: base/std_cxx17: remove std::legendrel boost substitutes X-Git-Tag: relicensing~192^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae40f4556e086053ebdbd5603071d9233f6fd515;p=dealii.git base/std_cxx17: remove std::legendrel boost substitutes --- diff --git a/include/deal.II/base/std_cxx17/cmath.h b/include/deal.II/base/std_cxx17/cmath.h index 8938b95bdb..fd6a694a6a 100644 --- a/include/deal.II/base/std_cxx17/cmath.h +++ b/include/deal.II/base/std_cxx17/cmath.h @@ -91,16 +91,6 @@ namespace std_cxx17 - inline long double - legendre(unsigned int l, long double x) - { - Assert(static_cast(l) >= 0, - ExcIndexRange(l, 0, std::numeric_limits::max())); - return boost::math::legendre_p(static_cast(l), x); - } - - - inline float legendref(unsigned int l, float x) { @@ -109,20 +99,9 @@ namespace std_cxx17 return boost::math::legendre_p(static_cast(l), x); } - - - inline long double - legendrel(unsigned int l, long double x) - { - Assert(static_cast(l) >= 0, - ExcIndexRange(l, 0, std::numeric_limits::max())); - return boost::math::legendre_p(static_cast(l), x); - } - #else using std::legendre; using std::legendref; - using std::legendrel; #endif } // namespace std_cxx17