From 774c8f2833532f730af15b76433ac4e0cd0250bc Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Wed, 10 Nov 2010 15:35:22 +0000 Subject: [PATCH] Avoid a few compiler warnings. git-svn-id: https://svn.dealii.org/trunk@22678 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/base/tensor_product_polynomials.h | 2 +- deal.II/include/deal.II/base/utilities.h | 6 ++++-- deal.II/source/fe/fe_abf.cc | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) 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