]> https://gitweb.dealii.org/ - dealii.git/commitdiff
base/std_cxx17: remove std::legendrel boost substitutes
authorMatthias Maier <tamiko@43-1.org>
Mon, 8 Jan 2024 14:25:55 +0000 (08:25 -0600)
committerMatthias Maier <tamiko@43-1.org>
Mon, 8 Jan 2024 14:31:40 +0000 (08:31 -0600)
include/deal.II/base/std_cxx17/cmath.h

index 8938b95bdbe14258c3623b5a2e0cfc838a46429f..fd6a694a6a97867bf3a2cf7705af9d9ae57faf85 100644 (file)
@@ -91,16 +91,6 @@ namespace std_cxx17
 
 
 
-  inline long double
-  legendre(unsigned int l, long double x)
-  {
-    Assert(static_cast<int>(l) >= 0,
-           ExcIndexRange(l, 0, std::numeric_limits<int>::max()));
-    return boost::math::legendre_p(static_cast<int>(l), x);
-  }
-
-
-
   inline float
   legendref(unsigned int l, float x)
   {
@@ -109,20 +99,9 @@ namespace std_cxx17
     return boost::math::legendre_p(static_cast<int>(l), x);
   }
 
-
-
-  inline long double
-  legendrel(unsigned int l, long double x)
-  {
-    Assert(static_cast<int>(l) >= 0,
-           ExcIndexRange(l, 0, std::numeric_limits<int>::max()));
-    return boost::math::legendre_p(static_cast<int>(l), x);
-  }
-
 #else
   using std::legendre;
   using std::legendref;
-  using std::legendrel;
 #endif
 } // namespace std_cxx17
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.