From: Daniel Arndt Date: Sun, 26 Feb 2017 17:16:59 +0000 (+0100) Subject: Suppress warnings for pointless comparison X-Git-Tag: v8.5.0-rc1~91^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4010%2Fhead;p=dealii.git Suppress warnings for pointless comparison --- diff --git a/include/deal.II/matrix_free/fe_evaluation.h b/include/deal.II/matrix_free/fe_evaluation.h index 8669822b2f..8619985650 100644 --- a/include/deal.II/matrix_free/fe_evaluation.h +++ b/include/deal.II/matrix_free/fe_evaluation.h @@ -6408,19 +6408,19 @@ namespace internal shape_info.n_q_points)) + c*Utilities::fixed_power(shape_info.fe_degree+1); unsigned int count_p = 0, count_q = 0; - for (unsigned int i=0; i<(dim>2?fe_degree+1:1); ++i) + for (int i=0; i<(dim>2?fe_degree+1:1); ++i) { - for (unsigned int j=0; j<(dim>1?fe_degree+1-i:1); ++j) + for (int j=0; j<(dim>1?fe_degree+1-i:1); ++j) { - for (unsigned int k=0; k(); } - for (unsigned int j=fe_degree+1-i; j(); } @@ -6733,11 +6733,11 @@ namespace internal if (type == MatrixFreeFunctions::truncated_tensor) { unsigned int count_p = 0, count_q = 0; - for (unsigned int i=0; i<(dim>2?fe_degree+1:1); ++i) + for (int i=0; i<(dim>2?fe_degree+1:1); ++i) { - for (unsigned int j=0; j<(dim>1?fe_degree+1-i:1); ++j) + for (int j=0; j<(dim>1?fe_degree+1-i:1); ++j) { - for (unsigned int k=0; k