From: Martin Kronbichler Date: Wed, 10 Nov 2010 15:35:22 +0000 (+0000) Subject: Avoid a few compiler warnings. X-Git-Tag: v8.0.0~4979 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=774c8f2833532f730af15b76433ac4e0cd0250bc;p=dealii.git Avoid a few compiler warnings. git-svn-id: https://svn.dealii.org/trunk@22678 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/base/tensor_product_polynomials.h b/deal.II/include/deal.II/base/tensor_product_polynomials.h index db503e098b..cdce04cbfa 100644 --- a/deal.II/include/deal.II/base/tensor_product_polynomials.h +++ b/deal.II/include/deal.II/base/tensor_product_polynomials.h @@ -529,7 +529,7 @@ TensorProductPolynomials:: x_to_the_dim (const unsigned int x) { unsigned int y = 1; - for (unsigned int d=0; d0, ExcNotImplemented()); switch (N) { + case 0: + return 1; case 1: return n; case 2: @@ -668,8 +670,8 @@ namespace Utilities case 4: return n*n*n*n; default: - T result = n; - for (unsigned int d=1;d::get_dpo_vector (const unsigned int rt_order) // Initiative...), and we have // (rt_order+1)^(dim-1) DoFs per face unsigned int dofs_per_face = 1; - for (unsigned int d=0; d