[libcxx-commits] [libcxx] [libc++][math] Mathematical Special Functions: Hermite Polynomial (PR #89982)
    via libcxx-commits 
    libcxx-commits at lists.llvm.org
       
    Sat May  4 12:10:12 PDT 2024
    
    
  
================
@@ -238,78 +196,117 @@ std::vector<T> get_roots(unsigned n) {
             T(5.3874808900112)};
 
   default:
-    throw "Roots of Hermite polynomial of order " + std::to_string(n) + " not implemented!\n";
+    assert(0);
----------------
PaulXiCao wrote:
Fixed in 293dd2ba1c8a9f88aadddfb36936ba7d6f01ddc2.
https://github.com/llvm/llvm-project/pull/89982
    
    
More information about the libcxx-commits
mailing list