]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix initialization of LagrangeEquidistant.
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 26 Jul 2011 14:41:50 +0000 (14:41 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 26 Jul 2011 14:41:50 +0000 (14:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@23963 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/base/polynomial.cc

index 01557e0d96d9f41681b4aed199eab360f3197503..4fafca390f0bee7e50f5ec81a9dc3591d530b3f7 100644 (file)
@@ -590,7 +590,7 @@ namespace Polynomials
   LagrangeEquidistant::LagrangeEquidistant (const unsigned int n,
                                             const unsigned int support_point)
   {
-    if (n <= 10)
+    if (n <= 3)
       {
         this->coefficients.resize(n+1);
         compute_coefficients(n, support_point, this->coefficients);
@@ -598,7 +598,7 @@ namespace Polynomials
     else
       {
                                          // We have precomputed tables
-                                         // up to degree 10. For
+                                         // up to degree 3. For
                                          // higher order, we have to
                                          // compute by hand.
 

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.