From: ESeNonFossiIo Date: Mon, 16 Nov 2015 14:46:43 +0000 (+0100) Subject: silence warning X-Git-Tag: v8.4.0-rc2~224^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb1692b628ac43910ade801dd3b01542c2d2d0e4;p=dealii.git silence warning --- diff --git a/include/deal.II/lac/block_linear_operator.h b/include/deal.II/lac/block_linear_operator.h index 5182815646..7602e47b85 100644 --- a/include/deal.II/lac/block_linear_operator.h +++ b/include/deal.II/lac/block_linear_operator.h @@ -793,7 +793,7 @@ block_back_substitution(const BlockLinearOperator &block_operator auto &dst = v.block(i); dst = u.block(i); dst *= -1.; - for (int j = i + 1; j < m; ++j) + for (unsigned int j = i + 1; j < m; ++j) block_operator.block(i, j).vmult_add(dst, v.block(j)); dst *= -1.; diagonal_inverse.block(i, i).vmult(dst, dst); // uses intermediate storage @@ -824,7 +824,7 @@ block_back_substitution(const BlockLinearOperator &block_operator diagonal_inverse.block(i, i).reinit_range_vector(*tmp, /*bool omit_zeroing_entries=*/ true); *tmp = u.block(i); *tmp *= -1.; - for (int j = i + 1; j < m; ++j) + for (unsigned int j = i + 1; j < m; ++j) block_operator.block(i, j).vmult_add(*tmp,v.block(j)); *tmp *= -1.; diagonal_inverse.block(i, i).vmult_add(v.block(i),*tmp);