From: Martin Kronbichler Date: Thu, 12 Apr 2018 07:18:56 +0000 (+0200) Subject: Avoid warning in computation of Jacobi polynomial roots. X-Git-Tag: v9.0.0-rc1~192^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9f909817c7ed72b2a668a4b072da858d34e3871;p=dealii.git Avoid warning in computation of Jacobi polynomial roots. --- diff --git a/include/deal.II/base/polynomial.h b/include/deal.II/base/polynomial.h index 6f0a535a47..e6275e9d72 100644 --- a/include/deal.II/base/polynomial.h +++ b/include/deal.II/base/polynomial.h @@ -906,7 +906,7 @@ namespace Polynomials r = (r + x[k-1])/2; unsigned int converged = numbers::invalid_unsigned_int; - for (unsigned int i=1; i<1000; ++i) + for (unsigned int it=1; it<1000; ++it) { Number s = 0.; for (unsigned int i=0; i