From: Ralf Hartmann Date: Fri, 4 May 2001 12:50:14 +0000 (+0000) Subject: Small change for optimisation. X-Git-Tag: v8.0.0~19249 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7aab744650c6c7f993608868e17f792a1227f35a;p=dealii.git Small change for optimisation. git-svn-id: https://svn.dealii.org/trunk@4541 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/source/polynomial.cc b/deal.II/base/source/polynomial.cc index df160e3161..cdbd297222 100644 --- a/deal.II/base/source/polynomial.cc +++ b/deal.II/base/source/polynomial.cc @@ -83,7 +83,8 @@ Polynomial::value (const number x, // differentiate the polynomial // more often than the highest // power is - for (unsigned int j=0; j=static_cast(j); --k) a[k]+=x*a[k+1]; @@ -93,7 +94,7 @@ Polynomial::value (const number x, } // fill higher derivatives by zero - for (unsigned int j=std::min(values_size,m); j