From: Rene Gassmoeller Date: Thu, 13 Oct 2016 21:32:16 +0000 (-0600) Subject: Remove asserts X-Git-Tag: v8.5.0-rc1~574^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc6c8bae9f42b009b2e20e5fe70cacccb981b804;p=dealii.git Remove asserts --- diff --git a/source/base/polynomial.cc b/source/base/polynomial.cc index cedc1f4936..e921e0dff2 100644 --- a/source/base/polynomial.cc +++ b/source/base/polynomial.cc @@ -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) { diff --git a/source/base/polynomials_piecewise.cc b/source/base/polynomials_piecewise.cc index cd082ea688..48c4287cfc 100644 --- a/source/base/polynomials_piecewise.cc +++ b/source/base/polynomials_piecewise.cc @@ -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.;