]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove asserts 3236/head
authorRene Gassmoeller <rene.gassmoeller@mailbox.org>
Thu, 13 Oct 2016 21:32:16 +0000 (15:32 -0600)
committerRene Gassmoeller <rene.gassmoeller@mailbox.org>
Thu, 13 Oct 2016 21:32:16 +0000 (15:32 -0600)
source/base/polynomial.cc
source/base/polynomials_piecewise.cc

index cedc1f493602cb028a30a48474bbbf08334a66bb..e921e0dff2ba34a44b9e07edb9a8157db449e6e5 100644 (file)
@@ -114,8 +114,6 @@ namespace Polynomials
                              const unsigned int n_derivatives,
                              number *values) const
   {
-    Assert(n_derivatives >= 0, ExcZero());
-
     // evaluate Lagrange polynomial and derivatives
     if (in_lagrange_product_form == true)
       {
index cd082ea6883f49b5aaa617af96d5c5c3cb872bcc..48c4287cfcbaf851b9b7cd95ae5a913dc086181c 100644 (file)
@@ -58,8 +58,6 @@ namespace Polynomials
                                       const unsigned int n_derivatives,
                                       number *values) const
   {
-    Assert (n_derivatives >= 0, ExcZero());
-
     // shift polynomial if necessary
     number y = x;
     double derivative_change_sign = 1.;

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.